1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SlideSorterController.sdi,v $
10 * $Revision: 1.14.70.2 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
34 FADE_EFFECT_FADE_FROM_LEFT ,
35 FADE_EFFECT_FADE_FROM_TOP ,
36 FADE_EFFECT_FADE_FROM_RIGHT ,
37 FADE_EFFECT_FADE_FROM_BOTTOM ,
38 FADE_EFFECT_FADE_TO_CENTER ,
39 FADE_EFFECT_FADE_FROM_CENTER ,
40 FADE_EFFECT_MOVE_FROM_LEFT ,
41 FADE_EFFECT_MOVE_FROM_TOP ,
42 FADE_EFFECT_MOVE_FROM_RIGHT ,
43 FADE_EFFECT_MOVE_FROM_BOTTOM ,
44 FADE_EFFECT_ROLL_FROM_LEFT ,
45 FADE_EFFECT_ROLL_FROM_TOP ,
46 FADE_EFFECT_ROLL_FROM_RIGHT ,
47 FADE_EFFECT_ROLL_FROM_BOTTOM ,
48 FADE_EFFECT_VERTICAL_STRIPES ,
49 FADE_EFFECT_HORIZONTAL_STRIPES ,
50 FADE_EFFECT_OPEN_VERTICAL ,
51 FADE_EFFECT_CLOSE_VERTICAL ,
52 FADE_EFFECT_OPEN_HORIZONTAL ,
53 FADE_EFFECT_CLOSE_HORIZONTAL ,
54 FADE_EFFECT_CLEAR_AWAY ,
73 item UINT32 DiaTimeItem ;
74 item PresChange DiaAutoItem ;
75 item FadeEffect DiaEffectItem ;
76 item FadeSpeed DiaSpeedItem ;
79 interface SlideSorterView
83 ExecMethod = FuTemporary ;
84 StateMethod = GetMenuState ;
86 SID_INSERT_MASTER_PAGE
88 ExecMethod = FuTemporary ;
89 StateMethod = GetMenuState ;
93 ExecMethod = FuTemporary ;
94 StateMethod = GetClipboardState ;
96 SID_DELETE_MASTER_PAGE
98 ExecMethod = FuTemporary ;
99 StateMethod = GetClipboardState ;
103 ExecMethod = FuTemporary ;
104 StateMethod = GetMenuState ;
106 SID_RENAME_MASTER_PAGE
108 ExecMethod = FuTemporary ;
109 StateMethod = GetMenuState ;
113 ExecMethod = FuTemporary ;
114 StateMethod = GetMenuState ;
116 SID_CUT // ole : no, status : ?
118 ExecMethod = FuSupport ;
119 StateMethod = GetClipboardState ;
121 SID_COPY // ole : no, status : ?
123 ExecMethod = FuSupport ;
124 StateMethod = GetClipboardState ;
126 SID_PASTE // ole : no, status : ?
128 ExecMethod = FuSupport ;
129 StateMethod = GetClipboardState ;
131 SID_PASTE_SPECIAL // ole : no, status : ?
133 ExecMethod = FuSupport ;
134 StateMethod = GetClipboardState ;
136 SID_REHEARSE_TIMINGS // ole : no, status : ?
138 ExecMethod = FuTemporary ;
139 StateMethod = GetMenuState ;
141 SID_PRESENTATION // ole : no, status : ?
143 ExecMethod = FuTemporary ;
144 StateMethod = GetMenuState ;
146 SID_HIDE_SLIDE // ole : no, status : ?
148 ExecMethod = FuTemporary ;
149 StateMethod = GetMenuState ;
151 SID_SHOW_SLIDE // ole : no, status : ?
153 ExecMethod = FuTemporary ;
154 StateMethod = GetMenuState ;
156 SID_OBJECT_SELECT // ole : no, status : ?
158 ExecMethod = FuPermanent ;
159 StateMethod = GetMenuState ;
161 SID_ZOOM_TOOLBOX // ole : no, status : ?
163 ExecMethod = FuTemporary ;
164 StateMethod = GetMenuState ;
166 SID_SIZE_VISAREA // ole : no, status : no
168 ExecMethod = FuTemporary ;
169 StateMethod = GetMenuState ;
171 SID_PAGES_PER_ROW // ole : no, status : ?
173 ExecMethod = FuTemporary ;
174 StateMethod = GetAttrState ;
176 SID_SELECTALL // ole : no, status : ?
178 ExecMethod = FuTemporary ;
179 StateMethod = GetMenuState ;
181 SID_STATUS_PAGE // ole : no, status : ?
183 ExecMethod = ExecStatusBar ;
184 StateMethod = GetStatusBarState ;
186 SID_STATUS_LAYOUT // ole : no, status : ?
188 ExecMethod = ExecStatusBar ;
189 StateMethod = GetStatusBarState ;
191 SID_ATTR_ZOOMSLIDER // status()
193 ExecMethod = ExecStatusBar ;
194 StateMethod = GetStatusBarState ;
197 SID_RELOAD // ole : no, status : ?
199 GroupId = GID_DOCUMENT ;
200 ExecMethod = ExecCtrl ;
201 StateMethod = GetCtrlState ;
202 Asynchron , AutoUpdate ,
203 MenuConfig , AccelConfig , ToolBoxConfig ;
205 SID_SEARCH_DLG // ole : no, status : ?
207 ExecMethod = ExecCtrl ;
208 StateMethod = GetMenuState ;
210 SID_STYLE_CATALOG // ole : no, status : ?
212 ExecMethod = FuTemporary ;
213 StateMethod = GetMenuState ;
215 SID_SLIDE_TRANSITIONS_PANEL // ole : no, status : ?
217 ExecMethod = FuTemporary ;
218 StateMethod = GetMenuState ;
222 ExecMethod = FuTemporary ;
226 ExecMethod = FuTemporary ;
228 SID_EXPAND_PAGE // ole : no, status : play rec
230 ExecMethod = FuTemporary ;
231 StateMethod = GetMenuState ;
233 SID_SUMMARY_PAGE // ole : no, status : ?
235 ExecMethod = FuTemporary ;
236 StateMethod = GetMenuState ;
239 SID_PRINTDOC // ole : no, status : ?
241 StateMethod = GetMenuState ;
243 SID_PRINTDOCDIRECT // ole : no, status : ?
245 StateMethod = GetMenuState ;
247 SID_SETUPPRINTER // ole : no, status : ?
249 StateMethod = GetMenuState ;
253 SID_OUTPUT_QUALITY_COLOR // ole : no, status : play rec
255 ExecMethod = ExecCtrl ;
256 StateMethod = GetCtrlState ;
258 SID_OUTPUT_QUALITY_GRAYSCALE // ole : no, status : play rec
260 ExecMethod = ExecCtrl ;
261 StateMethod = GetCtrlState ;
263 SID_OUTPUT_QUALITY_BLACKWHITE // ole : no, status : play rec
265 ExecMethod = ExecCtrl ;
266 StateMethod = GetCtrlState ;
268 SID_OUTPUT_QUALITY_CONTRAST // ole : no, status : play rec
270 ExecMethod = ExecCtrl ;
271 StateMethod = GetCtrlState ;
273 SID_MAIL_SCROLLBODY_PAGEDOWN // ole : no, status : ?
275 ExecMethod = ExecCtrl ;
276 StateMethod = GetCtrlState ;
280 ExecMethod = FuSupport ;
281 StateMethod = GetMenuState ;
283 SID_OPT_LOCALE_CHANGED // ole : no, status : ?
285 ExecMethod = ExecCtrl ;
286 StateMethod = GetCtrlState ;
290 SID_GETUNDOSTRINGS // ole : no, status : ?
292 ExecMethod = FuSupport ;
293 StateMethod = GetMenuState ;
295 SID_UNDO // ole : no, status : ?
297 ExecMethod = FuSupport ;
298 StateMethod = GetMenuState ;
300 SID_GETREDOSTRINGS // ole : no, status : ?
302 ExecMethod = FuSupport ;
303 StateMethod = GetMenuState ;
305 SID_REDO // ole : no, status : ?
307 ExecMethod = FuSupport ;
308 StateMethod = GetMenuState ;
312 ExecMethod = FuTemporary ;
313 StateMethod = GetMenuState ;
317 ExecMethod = FuTemporary;
318 StateMethod = GetMenuState;
322 shell SlideSorterController
324 import SlideSorterView[Automation];
327 shell SlideSorterViewShell
329 import SlideSorterView[Automation];