summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/drawing/MasterPage.idl
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/drawing/MasterPage.idl')
-rw-r--r--offapi/com/sun/star/drawing/MasterPage.idl80
1 files changed, 80 insertions, 0 deletions
diff --git a/offapi/com/sun/star/drawing/MasterPage.idl b/offapi/com/sun/star/drawing/MasterPage.idl
new file mode 100644
index 000000000000..a8940f5aef61
--- /dev/null
+++ b/offapi/com/sun/star/drawing/MasterPage.idl
@@ -0,0 +1,80 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: MasterPage.idl,v $
+ * $Revision: 1.8 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_drawing_MasterPage_idl__
+#define __com_sun_star_drawing_MasterPage_idl__
+
+#ifndef __com_sun_star_drawing_GenericDrawPage_idl__
+#include <com/sun/star/drawing/GenericDrawPage.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module drawing {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::drawing::MasterPage
+/** This service is a single master page inside a drawing document.
+
+
+ <p>It serves as a background page for zero or more <type>DrawPage</type>s.
+ Since this service is derived from the service <type>GenericDrawPage</type>,
+ it can be used as a draw page with three differences:
+ </p>
+ <ol>
+ <li>It is not linked to any other <type>MasterPage</type>.
+ </li>
+ <li>It cannot be removed from a document as long as one or
+ more instances of <type>DrawPage</type> are linked to it.
+ </li>
+ <li>Modifications to a <type>MasterPage</type> are instantly visible on
+ every <type>DrawPage</type> that is linked to it.
+ </li>
+ </ol>
+ */
+published service MasterPage
+{
+
+
+ // DocMerge from xml: service com::sun::star::drawing::MasterPage: service com::sun::star::drawing::GenericDrawPage
+ /** This service describes the base functionality that every
+ draw/master page has.
+ */
+ service com::sun::star::drawing::GenericDrawPage;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+