1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_presentation_DrawPage_idl__
20 #define __com_sun_star_presentation_DrawPage_idl__
22 #include
<com
/sun
/star
/drawing
/DrawPage.idl
>
24 #include
<com
/sun
/star
/document
/LinkTarget.idl
>
26 #include
<com
/sun
/star
/presentation
/FadeEffect.idl
>
28 #include
<com
/sun
/star
/presentation
/AnimationSpeed.idl
>
32 module com
{ module sun
{ module star
{ module presentation
{
35 /** This is the service provided by a com::sun::star::drawing::DrawPage inside a
38 @see PresentationDocument
40 published service DrawPage
42 service com
::sun
::star
::drawing
::DrawPage
;
44 /** Every page is a link target inside the document object model.
46 service com
::sun
::star
::document
::LinkTarget
;
49 /** specifies how the page change is triggered.
51 <p>If this is 0, the user must click to start each object animation
52 and to change the page. If set to 1, the page is
53 automatically switched. If it is set to 2, all object effects run
54 automatically, but the user has to click on the page to change it.</p>
56 [property
] long Change
;
59 /** If the property com::sun::star::drawing::DrawPage::Change is set to 1,
60 this is the time in seconds this page is shown before switching
63 [property
] long Duration
;
65 /** If the property com::sun::star::drawing::DrawPage::Change is set to 1,
66 this is the time in seconds this page is shown before switching
67 to the next page, also permitting sub-second precision here.
69 [optional, property
] double HighResDuration
;
71 /** This is the effect that is used to fade in this page.
73 [property
] com
::sun
::star
::presentation
::FadeEffect Effect
;
76 /** If this property is not ZERO, this number specifies a presentation
79 [property
] short Layout
;
82 /** defines the speed of the fade-in effect of this page.
84 [property
] com
::sun
::star
::presentation
::AnimationSpeed Speed
;
87 /** defines if a header presentation shape from the master page is visible
91 [optional, property
] boolean IsHeaderVisible
;
94 /** defines the text that is displayed in a header textfield rendered on this
97 [optional, property
] string HeaderText
;
100 /** defines if a footer presentation shape from the master page is visible
104 [optional, property
] boolean IsFooterVisible
;
107 /** defines the text that is displayed in a footer textfield rendered on this
110 [optional, property
] string FooterText
;
113 /** defines if a page number presentation shape from the master page is visible
117 [optional, property
] boolean IsPageNumberVisible
;
120 /** defines if a date and time presentation shape from the master page is visible
124 [optional, property
] boolean IsDateTimeVisible
;
127 /** defines if a date and time text field shows a fixed string value or the
128 current date on this page.
131 [optional, property
] boolean IsDateTimeFixed
;
134 /** defines the text that is displayed in a date and time textfield rendered on this
135 page. This value is only used if <code>IsDateTimeFixed</code> is `TRUE`.
137 [optional, property
] string DateTimeText
;
140 /** defines the format that is used to format a date and time text field on
141 this page. This is only used if <code>IsDateTimeFixed</code> is `FALSE`.
143 [optional, property
] long DateTimeFormat
;
152 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */