Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / presentation / Shape.idl
blob056c843241fba2b66777110b03a2b1b11c6e1704
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_presentation_Shape_idl__
29 #define __com_sun_star_presentation_Shape_idl__
31 #include <com/sun/star/util/Color.idl>
32 #include <com/sun/star/presentation/AnimationEffect.idl>
34 #include <com/sun/star/presentation/ClickAction.idl>
36 #include <com/sun/star/presentation/AnimationSpeed.idl>
39 //=============================================================================
41 module com { module sun { module star { module presentation {
43 //=============================================================================
45 /** this service is supported from all shapes inside a <type>PresentationDocument</type>.
48 This usually enhances objects of type <type scope="com::sun::star::drawing">Shape</type> with
49 presentation properties.
51 published service Shape
53 //-------------------------------------------------------------------------
55 /** is a generic URL for the property OnClick.
57 [property] string Bookmark;
59 //-------------------------------------------------------------------------
61 /** This is the color for dimming this shape.
63 <p>This color is used if the property <member scope="com::sun::star::drawing">Shape::DimPrev</member>
64 is <TRUE/> and <member scope="com::sun::star::drawing">Shape::DimHide</member> is <FALSE/>.</p>
66 [property] com::sun::star::util::Color DimColor;
68 //-------------------------------------------------------------------------
70 /** If this property and the property <member scope="com::sun::star::drawing">Shape::DimPrev</member>
71 are both <TRUE/>, the shape is hidden instead of dimmed to a color.
73 [property] boolean DimHide;
75 //-------------------------------------------------------------------------
77 /** If this property is <TRUE/>, this shape is dimmed to the color of
78 property <member scope="com::sun::star::drawing">Shape::DimColor</member> after executing its
79 animation effect.
81 [property] boolean DimPrevious;
83 //-------------------------------------------------------------------------
85 /** selects the animation effect of this shape.
87 [property] com::sun::star::presentation::AnimationEffect Effect;
89 //-------------------------------------------------------------------------
91 /** If this is a default presentation object and if it is empty,
92 this property is <TRUE/>.
94 [property] boolean IsEmptyPresentationObject;
96 //-------------------------------------------------------------------------
98 /** If this is a presentation object, this property is <TRUE/>.
99 <p>Presentation objects are objects like TitleTextShape and
100 OutlinerShape.</p>
102 [readonly, property] boolean IsPresentationObject;
104 //-------------------------------------------------------------------------
106 /** selects an action performed after the user clicks
107 on this shape.
109 [property] com::sun::star::presentation::ClickAction OnClick;
111 //-------------------------------------------------------------------------
113 /** If this property is <TRUE/>, the sound of this shape is played in
114 full.
116 <p>The default behavior is to stop the sound after completing the
117 animation effect.</p>
119 [property] boolean PlayFull;
121 //-------------------------------------------------------------------------
123 /** This is the position of this shape in the order of the shapes which
124 can be animated on its page.
126 <p>The animations are executed in this order, starting at the shape
127 with the PresentationOrder "one." You can change the order by
128 changing this number. Setting it to "one" makes this shape the
129 first shape in the execution order for the animation effects.</p>
131 [property] long PresentationOrder;
133 //-------------------------------------------------------------------------
135 /** This is the URL to a sound file that is played while the animation
136 effect of this shape is running.
138 [property] string Sound;
140 //-------------------------------------------------------------------------
142 /** If this property is set to <TRUE/>, a sound is played while the
143 animation effect is executed.
145 [property] boolean SoundOn;
147 //-------------------------------------------------------------------------
149 /** This is the speed of the animation effect.
151 [property] com::sun::star::presentation::AnimationSpeed Speed;
153 //-------------------------------------------------------------------------
155 /** This is the animation effect for the text inside this shape.
157 [property] com::sun::star::presentation::AnimationEffect TextEffect;
159 //-------------------------------------------------------------------------
161 /** specifies an "OLE2" verb for the ClickAction VERB in
162 the property <member scope="com::sun::star::drawing">Shape::OnClick</member>.
164 [property] long Verb;
168 //=============================================================================
170 }; }; }; };
172 #endif
174 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */