Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / presentation / DrawPage.idl
blob2b9cc98e9dbc0515c9a2b38be948a1805eecfbc5
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: DrawPage.idl,v $
10 * $Revision: 1.11 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_presentation_DrawPage_idl__
31 #define __com_sun_star_presentation_DrawPage_idl__
33 #ifndef __com_sun_star_drawing_DrawPage_idl__
34 #include <com/sun/star/drawing/DrawPage.idl>
35 #endif
37 #ifndef __com_sun_star_document_LinkTarget_idl__
38 #include <com/sun/star/document/LinkTarget.idl>
39 #endif
41 #ifndef __com_sun_star_presentation_FadeEffect_idl__
42 #include <com/sun/star/presentation/FadeEffect.idl>
43 #endif
45 #ifndef __com_sun_star_presentation_AnimationSpeed_idl__
46 #include <com/sun/star/presentation/AnimationSpeed.idl>
47 #endif
50 //=============================================================================
52 module com { module sun { module star { module presentation {
54 //=============================================================================
56 /** This is the service provided by a <type scope="com::sun::star::drawing">DrawPage</type> inside a
57 <type>PresentationDocument</type>.
59 @see PresentationDocument
61 published service DrawPage
63 service com::sun::star::drawing::DrawPage;
65 /** Every page is a link target inside the document object model.
67 service com::sun::star::document::LinkTarget;
69 //-------------------------------------------------------------------------
71 /** specifies how the page change is triggered.
73 <p>If this is 0, the user must click to start each object animation
74 and to change the page. If set to 1, the page is
75 automatically switched. If it is set to 2, all object effects run
76 automatically, but the user has to click on the page to change it.</p>
78 [property] long Change;
80 //-------------------------------------------------------------------------
82 /** If the property <member scope="com::sun::star::drawing">DrawPage::Change</member> is set to 1,
83 this is the time in seconds this page is shown before switching
84 to the next page.
86 [property] long Duration;
88 //-------------------------------------------------------------------------
90 /** This is the effect that is used to fade in this page.
92 [property] com::sun::star::presentation::FadeEffect Effect;
94 //-------------------------------------------------------------------------
96 /** If this property is not ZERO, this number specifies a presentation
97 layout for this page.
99 [property] short Layout;
101 //-------------------------------------------------------------------------
103 /** defines the speed of the fade-in effect of this page.
105 [property] com::sun::star::presentation::AnimationSpeed Speed;
107 //-------------------------------------------------------------------------
109 /** defines if a header presentation shape from the master page is visible
110 on this page.
113 [optional, property] boolean IsHeaderVisible;
115 //-------------------------------------------------------------------------
117 /** defines the text that is displayd in a header textfield rendered on this
118 page.
120 [optional, property] string HeaderText;
122 //-------------------------------------------------------------------------
124 /** defines if a footer presentation shape from the master page is visible
125 on this page.
128 [optional, property] boolean IsFooterVisible;
130 //-------------------------------------------------------------------------
132 /** defines the text that is displayd in a footer textfield rendered on this
133 page.
135 [optional, property] string FooterText;
137 //-------------------------------------------------------------------------
139 /** defines if a page number presentation shape from the master page is visible
140 on this page.
143 [optional, property] boolean IsPageNumberVisible;
145 //-------------------------------------------------------------------------
147 /** defines if a date and time presentation shape from the master page is visible
148 on this page.
151 [optional, property] boolean IsDateTimeVisible;
153 //-------------------------------------------------------------------------
155 /** defines if a date and time text field shows a fixed string value or the
156 current date on this page.
159 [optional, property] boolean IsDateTimeFixed;
161 //-------------------------------------------------------------------------
163 /** defines the text that is displayd in a date and time textfield rendered on this
164 page. This value is only used if <code>IsDateTimeFixed</code> is <true/>.
166 [optional, property] string DateTimeText;
168 //-------------------------------------------------------------------------
170 /** defines the format that is used to format a date and time text field on
171 this page. This is only used if <code>IsDateTimeFixed</code> is <false/>.
173 [optional, property] long DateTimeFormat;
176 //=============================================================================
178 }; }; }; };
180 #endif