Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / presentation / Presentation.idl
blob6ba0c95bb9c789dda9ab3da00c1a7478397e9840
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 .
19 #ifndef __com_sun_star_presentation_Presentation_idl__
20 #define __com_sun_star_presentation_Presentation_idl__
22 #include <com/sun/star/presentation/XPresentation.idl>
24 #include <com/sun/star/beans/XPropertySet.idl>
28 module com { module sun { module star { module presentation {
31 /** This service is a presentation that is available from a
32 PresentationDocument via the
33 XPresentationSupplier interface.
35 published service Presentation
37 /** lets you start and stop a presentation.
39 <p>It also gives you access to the more advanced features, like
40 rehearse timing and the live modes.
42 interface com::sun::star::presentation::XPresentation;
45 /** This is the standard interface for access to the properties from this
46 service.
48 interface com::sun::star::beans::XPropertySet;
51 /** enables/disables the shape animations.
53 [property] boolean AllowAnimations;
56 /** If this string is not empty, it contains the name of a customized
57 show that is used for the presentation.
59 [property] string CustomShow;
62 /** If this string is not empty, it contains the name of the page where
63 the presentation is started.
65 [property] string FirstPage;
68 /** If this property is set to `TRUE`, the window of the presentation is
69 always on top of all other windows.
71 [property] boolean IsAlwaysOnTop;
74 /** If this property is `TRUE`, all pages are changed automatically.
76 <p>This overrides the properties of the pages.</p>
78 [property] boolean IsAutomatic;
81 /** If this property is set to `TRUE`, the presentation is repeated
82 endlessly.
84 [property] boolean IsEndless;
87 /** If this property is set to `TRUE`, the presentation runs in
88 full-screen mode.
90 [property] boolean IsFullScreen;
93 /** With this property, you can set the presentation to live mode.
94 <p>Implementations that have no live mode capability may ignore this
95 property and always return false.
97 [property] boolean IsLivePresentation;
100 /** If this property is `TRUE`, the mouse is visible during the
101 presentation.
103 [property] boolean IsMouseVisible;
106 /** is the duration of the black screen after the
107 presentation has finished.
109 <p>If this is set to <code>0</code>, no black screen is shown.</p>
111 [property] long Pause;
114 /** If this is set to `TRUE`, the Navigator is opened at the start of the
115 presentation.
117 [property] boolean StartWithNavigator;
120 /** If this is `TRUE`, a pen is shown during presentation.
122 <p>You can draw on the presentation with this pen.</p>
124 [property] boolean UsePen;
129 }; }; }; };
131 #endif
133 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */