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