xref: /trunk/main/sd/sdi/SlideSorterController.sdi (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28enum FadeEffect
29{
30    FADE_EFFECT_NONE ,
31    FADE_EFFECT_FADE_FROM_LEFT ,
32    FADE_EFFECT_FADE_FROM_TOP ,
33    FADE_EFFECT_FADE_FROM_RIGHT ,
34    FADE_EFFECT_FADE_FROM_BOTTOM ,
35    FADE_EFFECT_FADE_TO_CENTER ,
36    FADE_EFFECT_FADE_FROM_CENTER ,
37    FADE_EFFECT_MOVE_FROM_LEFT ,
38    FADE_EFFECT_MOVE_FROM_TOP ,
39    FADE_EFFECT_MOVE_FROM_RIGHT ,
40    FADE_EFFECT_MOVE_FROM_BOTTOM ,
41    FADE_EFFECT_ROLL_FROM_LEFT ,
42    FADE_EFFECT_ROLL_FROM_TOP ,
43    FADE_EFFECT_ROLL_FROM_RIGHT ,
44    FADE_EFFECT_ROLL_FROM_BOTTOM ,
45    FADE_EFFECT_VERTICAL_STRIPES ,
46    FADE_EFFECT_HORIZONTAL_STRIPES ,
47    FADE_EFFECT_OPEN_VERTICAL ,
48    FADE_EFFECT_CLOSE_VERTICAL ,
49    FADE_EFFECT_OPEN_HORIZONTAL ,
50    FADE_EFFECT_CLOSE_HORIZONTAL ,
51    FADE_EFFECT_CLEAR_AWAY ,
52    FADE_EFFECT_OVERLAY
53}
54
55enum FadeSpeed
56{
57    FADE_SPEED_SLOW ,
58    FADE_SPEED_MEDIUM ,
59    FADE_SPEED_FAST
60}
61
62enum PresChange
63{
64    PRESCHANGE_MANUAL ,
65    PRESCHANGE_AUTO ,
66    PRESCHANGE_SEMIAUTO
67} ;
68
69 // Items
70item UINT32 DiaTimeItem ;
71item PresChange DiaAutoItem ;
72item FadeEffect DiaEffectItem ;
73item FadeSpeed DiaSpeedItem ;
74
75
76interface SlideSorterView
77{
78    SID_INSERTPAGE
79    [
80        ExecMethod = FuTemporary ;
81        StateMethod = GetMenuState ;
82    ]
83    SID_INSERT_MASTER_PAGE
84    [
85        ExecMethod = FuTemporary ;
86        StateMethod = GetMenuState ;
87    ]
88    SID_DUPLICATE_PAGE
89    [
90        ExecMethod = FuTemporary ;
91        StateMethod = GetMenuState ;
92    ]
93    SID_DELETE_PAGE
94    [
95        ExecMethod = FuTemporary ;
96        StateMethod = GetClipboardState ;
97    ]
98    SID_DELETE_MASTER_PAGE
99    [
100        ExecMethod = FuTemporary ;
101        StateMethod = GetClipboardState ;
102    ]
103    SID_RENAMEPAGE
104    [
105        ExecMethod = FuTemporary ;
106        StateMethod = GetMenuState ;
107    ]
108    SID_RENAME_MASTER_PAGE
109    [
110        ExecMethod = FuTemporary ;
111        StateMethod = GetMenuState ;
112    ]
113    SID_DELETE
114    [
115        ExecMethod = FuTemporary ;
116        StateMethod = GetMenuState ;
117    ]
118    SID_CUT // ole : no, status : ?
119    [
120        ExecMethod = FuSupport ;
121        StateMethod = GetClipboardState ;
122    ]
123    SID_COPY // ole : no, status : ?
124    [
125        ExecMethod = FuSupport ;
126        StateMethod = GetClipboardState ;
127    ]
128    SID_PASTE // ole : no, status : ?
129    [
130        ExecMethod = FuSupport ;
131        StateMethod = GetClipboardState ;
132    ]
133    SID_PASTE_SPECIAL // ole : no, status : ?
134    [
135        ExecMethod = FuSupport ;
136        StateMethod = GetClipboardState ;
137    ]
138    SID_REHEARSE_TIMINGS // ole : no, status : ?
139    [
140        ExecMethod = FuTemporary ;
141        StateMethod = GetMenuState ;
142    ]
143    SID_PRESENTATION // ole : no, status : ?
144    [
145        ExecMethod = FuTemporary ;
146        StateMethod = GetMenuState ;
147    ]
148    SID_HIDE_SLIDE // ole : no, status : ?
149    [
150        ExecMethod = FuTemporary ;
151        StateMethod = GetMenuState ;
152    ]
153    SID_SHOW_SLIDE // ole : no, status : ?
154    [
155        ExecMethod = FuTemporary ;
156        StateMethod = GetMenuState ;
157    ]
158    SID_OBJECT_SELECT // ole : no, status : ?
159    [
160        ExecMethod = FuPermanent ;
161        StateMethod = GetMenuState ;
162    ]
163    SID_ZOOM_TOOLBOX // ole : no, status : ?
164    [
165        ExecMethod = FuTemporary ;
166        StateMethod = GetMenuState ;
167    ]
168    SID_SIZE_VISAREA // ole : no, status : no
169    [
170        ExecMethod = FuTemporary ;
171        StateMethod = GetMenuState ;
172    ]
173    SID_PAGES_PER_ROW // ole : no, status : ?
174    [
175        ExecMethod = FuTemporary ;
176        StateMethod = GetAttrState ;
177    ]
178    SID_SELECTALL // ole : no, status : ?
179    [
180        ExecMethod = FuTemporary ;
181        StateMethod = GetMenuState ;
182    ]
183    SID_STATUS_PAGE // ole : no, status : ?
184    [
185        ExecMethod = ExecStatusBar ;
186        StateMethod = GetStatusBarState ;
187    ]
188    SID_STATUS_LAYOUT // ole : no, status : ?
189    [
190        ExecMethod = ExecStatusBar ;
191        StateMethod = GetStatusBarState ;
192    ]
193    SID_ATTR_ZOOMSLIDER // status()
194    [
195        ExecMethod = ExecStatusBar ;
196        StateMethod = GetStatusBarState ;
197    ]
198
199    SID_RELOAD // ole : no, status : ?
200    [
201        GroupId = GID_DOCUMENT ;
202        ExecMethod = ExecCtrl ;
203        StateMethod = GetCtrlState ;
204        Asynchron , AutoUpdate ,
205        MenuConfig , AccelConfig , ToolBoxConfig ;
206    ]
207    SID_SEARCH_DLG // ole : no, status : ?
208    [
209        ExecMethod = ExecCtrl ;
210        StateMethod = GetMenuState ;
211    ]
212    SID_STYLE_CATALOG // ole : no, status : ?
213    [
214        ExecMethod = FuTemporary ;
215        StateMethod = GetMenuState ;
216    ]
217    SID_SLIDE_TRANSITIONS_PANEL // ole : no, status : ?
218    [
219        ExecMethod = FuTemporary ;
220        StateMethod = GetMenuState ;
221    ]
222    SID_PRESENTATION_DLG
223    [
224        ExecMethod = FuTemporary ;
225    ]
226    SID_CUSTOMSHOW_DLG
227    [
228        ExecMethod = FuTemporary ;
229    ]
230    SID_EXPAND_PAGE // ole : no, status : play rec
231    [
232        ExecMethod = FuTemporary ;
233        StateMethod = GetMenuState ;
234    ]
235    SID_SUMMARY_PAGE // ole : no, status : ?
236    [
237        ExecMethod = FuTemporary ;
238        StateMethod = GetMenuState ;
239    ]
240    SID_OUTPUT_QUALITY_COLOR // ole : no, status : play rec
241    [
242        ExecMethod = ExecCtrl ;
243        StateMethod = GetCtrlState ;
244    ]
245    SID_OUTPUT_QUALITY_GRAYSCALE // ole : no, status : play rec
246    [
247        ExecMethod = ExecCtrl ;
248        StateMethod = GetCtrlState ;
249    ]
250    SID_OUTPUT_QUALITY_BLACKWHITE // ole : no, status : play rec
251    [
252        ExecMethod = ExecCtrl ;
253        StateMethod = GetCtrlState ;
254    ]
255    SID_OUTPUT_QUALITY_CONTRAST // ole : no, status : play rec
256    [
257        ExecMethod = ExecCtrl ;
258        StateMethod = GetCtrlState ;
259    ]
260    SID_MAIL_SCROLLBODY_PAGEDOWN // ole : no, status : ?
261    [
262        ExecMethod = ExecCtrl ;
263        StateMethod = GetCtrlState ;
264    ]
265    SID_STYLE_FAMILY
266    [
267        ExecMethod = FuSupport ;
268        StateMethod = GetMenuState ;
269    ]
270    SID_OPT_LOCALE_CHANGED // ole : no, status : ?
271    [
272        ExecMethod = ExecCtrl ;
273        StateMethod = GetCtrlState ;
274    ]
275
276        // #96090#
277    SID_GETUNDOSTRINGS // ole : no, status : ?
278    [
279        ExecMethod = FuSupport ;
280        StateMethod = GetMenuState ;
281    ]
282    SID_UNDO // ole : no, status : ?
283    [
284        ExecMethod = FuSupport ;
285        StateMethod = GetMenuState ;
286    ]
287    SID_GETREDOSTRINGS // ole : no, status : ?
288    [
289        ExecMethod = FuSupport ;
290        StateMethod = GetMenuState ;
291    ]
292    SID_REDO // ole : no, status : ?
293    [
294        ExecMethod = FuSupport ;
295        StateMethod = GetMenuState ;
296    ]
297    SID_MODIFYPAGE
298    [
299        ExecMethod = FuTemporary ;
300        StateMethod = GetMenuState ;
301    ]
302    SID_ASSIGN_LAYOUT
303    [
304        ExecMethod = FuTemporary;
305        StateMethod = GetMenuState;
306    ]
307}
308
309shell SlideSorterController
310{
311    import SlideSorterView[Automation];
312}
313
314shell SlideSorterViewShell
315{
316    import SlideSorterView[Automation];
317}
318