Get the style color and number just once
[LibreOffice.git] / offapi / com / sun / star / presentation / DrawPage.idl
blob216513ff9568bdbe111c772505aa6f6381e6fee6
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
22 module com { module sun { module star { module presentation {
25 /** This is the service provided by a com::sun::star::drawing::DrawPage inside a
26 PresentationDocument.
28 @see PresentationDocument
30 published service DrawPage
32 service com::sun::star::drawing::DrawPage;
34 /** Every page is a link target inside the document object model.
36 service com::sun::star::document::LinkTarget;
39 /** specifies how the page change is triggered.
41 <p>If this is 0, the user must click to start each object animation
42 and to change the page. If set to 1, the page is
43 automatically switched. If it is set to 2, all object effects run
44 automatically, but the user has to click on the page to change it.</p>
46 [property] long Change;
49 /** If the property com::sun::star::drawing::DrawPage::Change is set to 1,
50 this is the time in seconds this page is shown before switching
51 to the next page.
53 [property] long Duration;
55 /** If the property com::sun::star::drawing::DrawPage::Change is set to 1,
56 this is the time in seconds this page is shown before switching
57 to the next page, also permitting sub-second precision here.
59 [optional, property] double HighResDuration;
61 /** This is the effect that is used to fade in this page.
63 [property] com::sun::star::presentation::FadeEffect Effect;
66 /** If this property is not ZERO, this number specifies a presentation
67 layout for this page.
69 [property] short Layout;
72 /** Defines the speed of the fade-in effect of this page.
73 @see TransitionSpeed
75 [property] com::sun::star::presentation::AnimationSpeed Speed;
77 /** defines if a header presentation shape from the master page is visible
78 on this page.
81 [optional, property] boolean IsHeaderVisible;
84 /** defines the text that is displayed in a header textfield rendered on this
85 page.
87 [optional, property] string HeaderText;
90 /** defines if a footer presentation shape from the master page is visible
91 on this page.
94 [optional, property] boolean IsFooterVisible;
97 /** defines the text that is displayed in a footer textfield rendered on this
98 page.
100 [optional, property] string FooterText;
103 /** defines if a page number presentation shape from the master page is visible
104 on this page.
107 [optional, property] boolean IsPageNumberVisible;
110 /** defines if a date and time presentation shape from the master page is visible
111 on this page.
114 [optional, property] boolean IsDateTimeVisible;
117 /** defines if a date and time text field shows a fixed string value or the
118 current date on this page.
121 [optional, property] boolean IsDateTimeFixed;
124 /** defines the text that is displayed in a date and time textfield rendered on this
125 page. This value is only used if <code>IsDateTimeFixed</code> is `TRUE`.
127 [optional, property] string DateTimeText;
130 /** defines the format that is used to format a date and time text field on
131 this page. This is only used if <code>IsDateTimeFixed</code> is `FALSE`.
133 [optional, property] long DateTimeFormat;
135 /** Specifies slide transition time in seconds.
136 @since LibreOffice 6.1
137 @see Speed
139 [property, optional] double TransitionDuration;
143 }; }; }; };
145 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */