1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_drawing_GenericDrawingDocument_idl__
28 #define __com_sun_star_drawing_GenericDrawingDocument_idl__
30 #ifndef __com_sun_star_drawing_XDrawPageDuplicator_idl__
31 #include
<com
/sun
/star
/drawing
/XDrawPageDuplicator.idl
>
34 #ifndef __com_sun_star_drawing_XDrawPagesSupplier_idl__
35 #include
<com
/sun
/star
/drawing
/XDrawPagesSupplier.idl
>
38 #ifndef __com_sun_star_drawing_XMasterPagesSupplier_idl__
39 #include
<com
/sun
/star
/drawing
/XMasterPagesSupplier.idl
>
42 #ifndef __com_sun_star_drawing_XLayerSupplier_idl__
43 #include
<com
/sun
/star
/drawing
/XLayerSupplier.idl
>
46 #ifndef __com_sun_star_lang_XMultiServiceFactory_idl__
47 #include
<com
/sun
/star
/lang
/XMultiServiceFactory.idl
>
50 #ifndef __com_sun_star_beans_XPropertySet_idl__
51 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
54 #ifndef __com_sun_star_style_XStyleFamiliesSupplier_idl__
55 #include
<com
/sun
/star
/style
/XStyleFamiliesSupplier.idl
>
58 #ifndef __com_sun_star_lang_Locale_idl__
59 #include
<com
/sun
/star
/lang
/Locale.idl
>
62 #ifndef __com_sun_star_awt_Rectangle_idl__
63 #include
<com
/sun
/star
/awt
/Rectangle.idl
>
66 #ifndef __com_sun_star_i18n_XForbiddenCharacters_idl__
67 #include
<com
/sun
/star
/i18n
/XForbiddenCharacters.idl
>
70 #ifndef __com_sun_star_document_OfficeDocument_idl__
71 #include
<com
/sun
/star
/document
/OfficeDocument.idl
>
74 //=============================================================================
76 module com
{ module sun
{ module star
{ module drawing
{
78 //=============================================================================
80 /** specifies a document which consists of multiple pages
83 <p>Because its function is needed more then once, its defined as generic one.</p>
85 service GenericDrawingDocument
87 /** this base service describes storing and printing */
88 service com
::sun
::star
::document
::OfficeDocument
;
90 /** this factory lets you create various services that are
91 used inside a drawing document
93 <p>The following services are <type>Shape</type>s.
94 They are created by the documents factory and must
95 be inserted into a <type>DrawPage</type> or <type>MasterPage</type>
99 <li><type>RectangleShape</type></li>
100 <li><type>EllipseShape</type></li>
101 <li><type>ControlShape</type></li>
102 <li><type>ConnectorShape</type></li>
103 <li><type>MeasureShape</type></li>
104 <li><type>LineShape</type></li>
105 <li><type>PolyPolygonShape</type></li>
106 <li><type>PolyLineShape</type></li>
107 <li><type>OpenBezierShape</type></li>
108 <li><type>ClosedBezierShape</type></li>
109 <li><type>GraphicObjectShape</type></li>
110 <li><type>GroupShape</type></li>
111 <li><type>TextShape</type></li>
112 <li><type>OLE2Shape</type></li>
113 <li><type>PageShape</type></li>
114 <li><type>CaptionShape</type></li>
115 <li><type>PluginShape</type></li>
116 <li><type>AppletShape</type></li>
119 <p>The following services are all <type scope="com::sun::star::text">TextField</type>
120 and can be inserted into text as <type scope="com::sun::star::text">TextContent</type>.
123 <li><member scope="com::sun::star::text">TextField::DateTime</member></li>
124 <li><member scope="com::sun::star::text">TextField::URL</member></li>
125 <li><member scope="com::sun::star::text">TextField::PageNumber</member></li>
126 <li><member scope="com::sun::star::text">TextField::PageCount</member></li>
127 <li><member scope="com::sun::star::text">TextField::SheetName</member></li>
128 <li><member scope="com::sun::star::text">TextField::FileName</member></li>
129 <li><member scope="com::sun::star::text">TextField::DocInfo.Title</member></li>
130 <li><member scope="com::sun::star::text">TextField::Author</member></li>
131 <li><member scope="com::sun::star::text">TextField::Measure</member></li>
134 <p>The following services gives access to resources used inside the document
135 and let you add new resources.
138 <li><type scope="com::sun::star::drawing">DashTable</type></li>
139 <li><type scope="com::sun::star::drawing">GradientTable</type></li>
140 <li><type scope="com::sun::star::drawing">HatchTable</type></li>
141 <li><type scope="com::sun::star::drawing">BitmapTable</type></li>
142 <li><type scope="com::sun::star::drawing">TransparencyGradientTable</type></li>
143 <li><type scope="com::sun::star::drawing">MarkerTable</type></li>
146 <p>The following service can be set at the <code>Numbering</code> property
147 inside a <type scope="com::sun::star::style">ParagraphProperties</type>
150 <li><type scope="com::sun::star::text">NumberingRules</type></li>
153 <p>The following services can be used for a <type scope="com::sun::star::image">ImageMap</type>
156 <br>A <type scope="com::sun::star::image">ImageMap</type> can be obtained from a
157 <type>GraphicObjectShape</type>
160 <li><type scope="com::sun::star::image">ImageMapRectangleObject</type></li>
161 <li><type scope="com::sun::star::image">ImageMapCircleObject</type></li>
162 <li><type scope="com::sun::star::image">ImageMapPolygonObject</type></li>
165 <p>The following services lets you access the drawing property defaults
169 <li><type scope="com::sun::star::drawing">Defaults</type></li>
172 interface com
::sun
::star
::lang
::XMultiServiceFactory
;
174 /** lets you access the properties of this service.
176 interface com
::sun
::star
::beans
::XPropertySet
;
178 /** lets you duplicate pages inside this document.
180 interface com
::sun
::star
::drawing
::XDrawPageDuplicator
;
183 /** provides an object that is implementing the service
184 <type>DrawPage</type>s. With this service you have access to the
185 <type>DrawPage</type>s inside a document.
187 interface com
::sun
::star
::drawing
::XDrawPagesSupplier
;
190 /** returns an object that is implementing the service
191 <type>MasterPages</type>. With this service you have access to the
192 <type>MasterPage</type>s inside a document.
194 interface com
::sun
::star
::drawing
::XMasterPagesSupplier
;
197 /** returns an object that is implementing the service
198 <type>LayerManager</type>. This service lets you manipulate the
199 <type>Layer</type>s of this document.
201 interface com
::sun
::star
::drawing
::XLayerSupplier
;
203 /** This interface lets you access the styles contained in this document
205 interface com
::sun
::star
::style
::XStyleFamiliesSupplier
;
207 //-------------------------------------------------------------------------
209 /** This property specifies the length between the default tab stops
210 inside text in this document in 1/100th mm.
212 [property
] long TabStop
;
214 //-------------------------------------------------------------------------
216 /** contains the identifier of the default locale of the document.
218 [property
] com
::sun
::star
::lang
::Locale CharLocale
;
220 //-------------------------------------------------------------------------
222 /** if this document is an ole client, this is the current visible area
225 [property
] com
::sun
::star
::awt
::Rectangle VisibleArea
;
227 //-------------------------------------------------------------------------
229 /** This property gives the XForbiddenCharacters.
231 [readonly, property
] com
::sun
::star
::i18n
::XForbiddenCharacters ForbiddenCharacters
;
235 //=============================================================================