1*4b0f5a03SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*4b0f5a03SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*4b0f5a03SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*4b0f5a03SAndrew Rist * distributed with this work for additional information
6*4b0f5a03SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*4b0f5a03SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*4b0f5a03SAndrew Rist * "License"); you may not use this file except in compliance
9*4b0f5a03SAndrew Rist * with the License.  You may obtain a copy of the License at
10*4b0f5a03SAndrew Rist *
11*4b0f5a03SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*4b0f5a03SAndrew Rist *
13*4b0f5a03SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*4b0f5a03SAndrew Rist * software distributed under the License is distributed on an
15*4b0f5a03SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*4b0f5a03SAndrew Rist * KIND, either express or implied.  See the License for the
17*4b0f5a03SAndrew Rist * specific language governing permissions and limitations
18*4b0f5a03SAndrew Rist * under the License.
19*4b0f5a03SAndrew Rist *
20*4b0f5a03SAndrew Rist *************************************************************/
21*4b0f5a03SAndrew Rist
22*4b0f5a03SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirenum FadeEffect
25cdf0e10cSrcweir{
26cdf0e10cSrcweir	FADE_EFFECT_NONE ,
27cdf0e10cSrcweir	FADE_EFFECT_FADE_FROM_LEFT ,
28cdf0e10cSrcweir	FADE_EFFECT_FADE_FROM_TOP ,
29cdf0e10cSrcweir	FADE_EFFECT_FADE_FROM_RIGHT ,
30cdf0e10cSrcweir	FADE_EFFECT_FADE_FROM_BOTTOM ,
31cdf0e10cSrcweir	FADE_EFFECT_FADE_TO_CENTER ,
32cdf0e10cSrcweir	FADE_EFFECT_FADE_FROM_CENTER ,
33cdf0e10cSrcweir	FADE_EFFECT_MOVE_FROM_LEFT ,
34cdf0e10cSrcweir	FADE_EFFECT_MOVE_FROM_TOP ,
35cdf0e10cSrcweir	FADE_EFFECT_MOVE_FROM_RIGHT ,
36cdf0e10cSrcweir	FADE_EFFECT_MOVE_FROM_BOTTOM ,
37cdf0e10cSrcweir	FADE_EFFECT_ROLL_FROM_LEFT ,
38cdf0e10cSrcweir	FADE_EFFECT_ROLL_FROM_TOP ,
39cdf0e10cSrcweir	FADE_EFFECT_ROLL_FROM_RIGHT ,
40cdf0e10cSrcweir	FADE_EFFECT_ROLL_FROM_BOTTOM ,
41cdf0e10cSrcweir	FADE_EFFECT_VERTICAL_STRIPES ,
42cdf0e10cSrcweir	FADE_EFFECT_HORIZONTAL_STRIPES ,
43cdf0e10cSrcweir	FADE_EFFECT_OPEN_VERTICAL ,
44cdf0e10cSrcweir	FADE_EFFECT_CLOSE_VERTICAL ,
45cdf0e10cSrcweir	FADE_EFFECT_OPEN_HORIZONTAL ,
46cdf0e10cSrcweir	FADE_EFFECT_CLOSE_HORIZONTAL ,
47cdf0e10cSrcweir	FADE_EFFECT_CLEAR_AWAY ,
48cdf0e10cSrcweir	FADE_EFFECT_OVERLAY
49cdf0e10cSrcweir}
50cdf0e10cSrcweir
51cdf0e10cSrcweirenum FadeSpeed
52cdf0e10cSrcweir{
53cdf0e10cSrcweir	FADE_SPEED_SLOW ,
54cdf0e10cSrcweir	FADE_SPEED_MEDIUM ,
55cdf0e10cSrcweir	FADE_SPEED_FAST
56cdf0e10cSrcweir}
57cdf0e10cSrcweir
58cdf0e10cSrcweirenum PresChange
59cdf0e10cSrcweir{
60cdf0e10cSrcweir	PRESCHANGE_MANUAL ,
61cdf0e10cSrcweir	PRESCHANGE_AUTO ,
62cdf0e10cSrcweir	PRESCHANGE_SEMIAUTO
63cdf0e10cSrcweir} ;
64cdf0e10cSrcweir
65cdf0e10cSrcweir // Items
66cdf0e10cSrcweiritem UINT32 DiaTimeItem ;
67cdf0e10cSrcweiritem PresChange DiaAutoItem ;
68cdf0e10cSrcweiritem FadeEffect DiaEffectItem ;
69cdf0e10cSrcweiritem FadeSpeed DiaSpeedItem ;
70cdf0e10cSrcweir
71cdf0e10cSrcweir
72cdf0e10cSrcweirinterface SlideSorterView
73cdf0e10cSrcweir{
74cdf0e10cSrcweir	SID_INSERTPAGE
75cdf0e10cSrcweir	[
76cdf0e10cSrcweir		ExecMethod = FuTemporary ;
77cdf0e10cSrcweir		StateMethod = GetMenuState ;
78cdf0e10cSrcweir	]
79cdf0e10cSrcweir	SID_INSERT_MASTER_PAGE
80cdf0e10cSrcweir	[
81cdf0e10cSrcweir		ExecMethod = FuTemporary ;
82cdf0e10cSrcweir		StateMethod = GetMenuState ;
83cdf0e10cSrcweir	]
84cdf0e10cSrcweir	SID_DUPLICATE_PAGE
85cdf0e10cSrcweir	[
86cdf0e10cSrcweir		ExecMethod = FuTemporary ;
87cdf0e10cSrcweir		StateMethod = GetMenuState ;
88cdf0e10cSrcweir	]
89cdf0e10cSrcweir	SID_DELETE_PAGE
90cdf0e10cSrcweir	[
91cdf0e10cSrcweir		ExecMethod = FuTemporary ;
92cdf0e10cSrcweir		StateMethod = GetClipboardState ;
93cdf0e10cSrcweir	]
94cdf0e10cSrcweir	SID_DELETE_MASTER_PAGE
95cdf0e10cSrcweir	[
96cdf0e10cSrcweir		ExecMethod = FuTemporary ;
97cdf0e10cSrcweir		StateMethod = GetClipboardState ;
98cdf0e10cSrcweir	]
99cdf0e10cSrcweir	SID_RENAMEPAGE
100cdf0e10cSrcweir	[
101cdf0e10cSrcweir		ExecMethod = FuTemporary ;
102cdf0e10cSrcweir		StateMethod = GetMenuState ;
103cdf0e10cSrcweir	]
104cdf0e10cSrcweir	SID_RENAME_MASTER_PAGE
105cdf0e10cSrcweir	[
106cdf0e10cSrcweir		ExecMethod = FuTemporary ;
107cdf0e10cSrcweir		StateMethod = GetMenuState ;
108cdf0e10cSrcweir	]
109cdf0e10cSrcweir	SID_DELETE
110cdf0e10cSrcweir	[
111cdf0e10cSrcweir		ExecMethod = FuTemporary ;
112cdf0e10cSrcweir		StateMethod = GetMenuState ;
113cdf0e10cSrcweir	]
114cdf0e10cSrcweir	SID_CUT // ole : no, status : ?
115cdf0e10cSrcweir	[
116cdf0e10cSrcweir		ExecMethod = FuSupport ;
117cdf0e10cSrcweir		StateMethod = GetClipboardState ;
118cdf0e10cSrcweir	]
119cdf0e10cSrcweir	SID_COPY // ole : no, status : ?
120cdf0e10cSrcweir	[
121cdf0e10cSrcweir		ExecMethod = FuSupport ;
122cdf0e10cSrcweir		StateMethod = GetClipboardState ;
123cdf0e10cSrcweir	]
124cdf0e10cSrcweir	SID_PASTE // ole : no, status : ?
125cdf0e10cSrcweir	[
126cdf0e10cSrcweir		ExecMethod = FuSupport ;
127cdf0e10cSrcweir		StateMethod = GetClipboardState ;
128cdf0e10cSrcweir	]
129cdf0e10cSrcweir    SID_PASTE_SPECIAL // ole : no, status : ?
130cdf0e10cSrcweir	[
131cdf0e10cSrcweir		ExecMethod = FuSupport ;
132cdf0e10cSrcweir		StateMethod = GetClipboardState ;
133cdf0e10cSrcweir	]
134cdf0e10cSrcweir	SID_REHEARSE_TIMINGS // ole : no, status : ?
135cdf0e10cSrcweir	[
136cdf0e10cSrcweir		ExecMethod = FuTemporary ;
137cdf0e10cSrcweir		StateMethod = GetMenuState ;
138cdf0e10cSrcweir	]
139cdf0e10cSrcweir	SID_PRESENTATION // ole : no, status : ?
140cdf0e10cSrcweir	[
141cdf0e10cSrcweir		ExecMethod = FuTemporary ;
142cdf0e10cSrcweir		StateMethod = GetMenuState ;
143cdf0e10cSrcweir	]
144cdf0e10cSrcweir	SID_HIDE_SLIDE // ole : no, status : ?
145cdf0e10cSrcweir	[
146cdf0e10cSrcweir		ExecMethod = FuTemporary ;
147cdf0e10cSrcweir		StateMethod = GetMenuState ;
148cdf0e10cSrcweir	]
149cdf0e10cSrcweir	SID_SHOW_SLIDE // ole : no, status : ?
150cdf0e10cSrcweir	[
151cdf0e10cSrcweir		ExecMethod = FuTemporary ;
152cdf0e10cSrcweir		StateMethod = GetMenuState ;
153cdf0e10cSrcweir	]
154cdf0e10cSrcweir	SID_OBJECT_SELECT // ole : no, status : ?
155cdf0e10cSrcweir	[
156cdf0e10cSrcweir		ExecMethod = FuPermanent ;
157cdf0e10cSrcweir		StateMethod = GetMenuState ;
158cdf0e10cSrcweir	]
159cdf0e10cSrcweir	SID_ZOOM_TOOLBOX // ole : no, status : ?
160cdf0e10cSrcweir	[
161cdf0e10cSrcweir		ExecMethod = FuTemporary ;
162cdf0e10cSrcweir		StateMethod = GetMenuState ;
163cdf0e10cSrcweir	]
164cdf0e10cSrcweir	SID_SIZE_VISAREA // ole : no, status : no
165cdf0e10cSrcweir	[
166cdf0e10cSrcweir		ExecMethod = FuTemporary ;
167cdf0e10cSrcweir		StateMethod = GetMenuState ;
168cdf0e10cSrcweir	]
169cdf0e10cSrcweir	SID_PAGES_PER_ROW // ole : no, status : ?
170cdf0e10cSrcweir	[
171cdf0e10cSrcweir		ExecMethod = FuTemporary ;
172cdf0e10cSrcweir		StateMethod = GetAttrState ;
173cdf0e10cSrcweir	]
174cdf0e10cSrcweir	SID_SELECTALL // ole : no, status : ?
175cdf0e10cSrcweir	[
176cdf0e10cSrcweir		ExecMethod = FuTemporary ;
177cdf0e10cSrcweir		StateMethod = GetMenuState ;
178cdf0e10cSrcweir	]
179cdf0e10cSrcweir	SID_STATUS_PAGE // ole : no, status : ?
180cdf0e10cSrcweir	[
181cdf0e10cSrcweir		ExecMethod = ExecStatusBar ;
182cdf0e10cSrcweir		StateMethod = GetStatusBarState ;
183cdf0e10cSrcweir	]
184cdf0e10cSrcweir	SID_STATUS_LAYOUT // ole : no, status : ?
185cdf0e10cSrcweir	[
186cdf0e10cSrcweir		ExecMethod = ExecStatusBar ;
187cdf0e10cSrcweir		StateMethod = GetStatusBarState ;
188cdf0e10cSrcweir	]
189cdf0e10cSrcweir    SID_ATTR_ZOOMSLIDER // status()
190cdf0e10cSrcweir    [
191cdf0e10cSrcweir        ExecMethod = ExecStatusBar ;
192cdf0e10cSrcweir        StateMethod = GetStatusBarState ;
193cdf0e10cSrcweir    ]
194cdf0e10cSrcweir
195cdf0e10cSrcweir	SID_RELOAD // ole : no, status : ?
196cdf0e10cSrcweir	[
197cdf0e10cSrcweir		GroupId = GID_DOCUMENT ;
198cdf0e10cSrcweir		ExecMethod = ExecCtrl ;
199cdf0e10cSrcweir		StateMethod = GetCtrlState ;
200cdf0e10cSrcweir        Asynchron , AutoUpdate ,
201cdf0e10cSrcweir		MenuConfig , AccelConfig , ToolBoxConfig ;
202cdf0e10cSrcweir	]
203cdf0e10cSrcweir	SID_SEARCH_DLG // ole : no, status : ?
204cdf0e10cSrcweir	[
205cdf0e10cSrcweir		ExecMethod = ExecCtrl ;
206cdf0e10cSrcweir		StateMethod = GetMenuState ;
207cdf0e10cSrcweir	]
208cdf0e10cSrcweir	SID_STYLE_CATALOG // ole : no, status : ?
209cdf0e10cSrcweir	[
210cdf0e10cSrcweir		ExecMethod = FuTemporary ;
211cdf0e10cSrcweir		StateMethod = GetMenuState ;
212cdf0e10cSrcweir	]
213cdf0e10cSrcweir	SID_SLIDE_TRANSITIONS_PANEL // ole : no, status : ?
214cdf0e10cSrcweir	[
215cdf0e10cSrcweir		ExecMethod = FuTemporary ;
216cdf0e10cSrcweir		StateMethod = GetMenuState ;
217cdf0e10cSrcweir	]
218cdf0e10cSrcweir	SID_PRESENTATION_DLG
219cdf0e10cSrcweir	[
220cdf0e10cSrcweir		ExecMethod = FuTemporary ;
221cdf0e10cSrcweir	]
222cdf0e10cSrcweir	SID_CUSTOMSHOW_DLG
223cdf0e10cSrcweir	[
224cdf0e10cSrcweir		ExecMethod = FuTemporary ;
225cdf0e10cSrcweir	]
226cdf0e10cSrcweir	SID_EXPAND_PAGE // ole : no, status : play rec
227cdf0e10cSrcweir	[
228cdf0e10cSrcweir		ExecMethod = FuTemporary ;
229cdf0e10cSrcweir		StateMethod = GetMenuState ;
230cdf0e10cSrcweir	]
231cdf0e10cSrcweir	SID_SUMMARY_PAGE // ole : no, status : ?
232cdf0e10cSrcweir	[
233cdf0e10cSrcweir		ExecMethod = FuTemporary ;
234cdf0e10cSrcweir		StateMethod = GetMenuState ;
235cdf0e10cSrcweir	]
236cdf0e10cSrcweir    SID_OUTPUT_QUALITY_COLOR // ole : no, status : play rec
237cdf0e10cSrcweir    [
238cdf0e10cSrcweir        ExecMethod = ExecCtrl ;
239cdf0e10cSrcweir        StateMethod = GetCtrlState ;
240cdf0e10cSrcweir    ]
241cdf0e10cSrcweir    SID_OUTPUT_QUALITY_GRAYSCALE // ole : no, status : play rec
242cdf0e10cSrcweir    [
243cdf0e10cSrcweir        ExecMethod = ExecCtrl ;
244cdf0e10cSrcweir        StateMethod = GetCtrlState ;
245cdf0e10cSrcweir    ]
246cdf0e10cSrcweir    SID_OUTPUT_QUALITY_BLACKWHITE // ole : no, status : play rec
247cdf0e10cSrcweir    [
248cdf0e10cSrcweir        ExecMethod = ExecCtrl ;
249cdf0e10cSrcweir        StateMethod = GetCtrlState ;
250cdf0e10cSrcweir    ]
251cdf0e10cSrcweir    SID_OUTPUT_QUALITY_CONTRAST // ole : no, status : play rec
252cdf0e10cSrcweir    [
253cdf0e10cSrcweir        ExecMethod = ExecCtrl ;
254cdf0e10cSrcweir        StateMethod = GetCtrlState ;
255cdf0e10cSrcweir    ]
256cdf0e10cSrcweir	SID_MAIL_SCROLLBODY_PAGEDOWN // ole : no, status : ?
257cdf0e10cSrcweir	[
258cdf0e10cSrcweir		ExecMethod = ExecCtrl ;
259cdf0e10cSrcweir		StateMethod = GetCtrlState ;
260cdf0e10cSrcweir	]
261cdf0e10cSrcweir	SID_STYLE_FAMILY
262cdf0e10cSrcweir	[
263cdf0e10cSrcweir		ExecMethod = FuSupport ;
264cdf0e10cSrcweir		StateMethod = GetMenuState ;
265cdf0e10cSrcweir	]
266cdf0e10cSrcweir    SID_OPT_LOCALE_CHANGED // ole : no, status : ?
267cdf0e10cSrcweir    [
268cdf0e10cSrcweir        ExecMethod = ExecCtrl ;
269cdf0e10cSrcweir        StateMethod = GetCtrlState ;
270cdf0e10cSrcweir    ]
271cdf0e10cSrcweir
272cdf0e10cSrcweir		// #96090#
273cdf0e10cSrcweir	SID_GETUNDOSTRINGS // ole : no, status : ?
274cdf0e10cSrcweir    [
275cdf0e10cSrcweir        ExecMethod = FuSupport ;
276cdf0e10cSrcweir        StateMethod = GetMenuState ;
277cdf0e10cSrcweir    ]
278cdf0e10cSrcweir	SID_UNDO // ole : no, status : ?
279cdf0e10cSrcweir    [
280cdf0e10cSrcweir        ExecMethod = FuSupport ;
281cdf0e10cSrcweir        StateMethod = GetMenuState ;
282cdf0e10cSrcweir    ]
283cdf0e10cSrcweir	SID_GETREDOSTRINGS // ole : no, status : ?
284cdf0e10cSrcweir    [
285cdf0e10cSrcweir        ExecMethod = FuSupport ;
286cdf0e10cSrcweir        StateMethod = GetMenuState ;
287cdf0e10cSrcweir    ]
288cdf0e10cSrcweir	SID_REDO // ole : no, status : ?
289cdf0e10cSrcweir    [
290cdf0e10cSrcweir        ExecMethod = FuSupport ;
291cdf0e10cSrcweir        StateMethod = GetMenuState ;
292cdf0e10cSrcweir    ]
293cdf0e10cSrcweir	SID_MODIFYPAGE
294cdf0e10cSrcweir	[
295cdf0e10cSrcweir		ExecMethod = FuTemporary ;
296cdf0e10cSrcweir		StateMethod = GetMenuState ;
297cdf0e10cSrcweir	]
298cdf0e10cSrcweir    SID_ASSIGN_LAYOUT
299cdf0e10cSrcweir	[
300cdf0e10cSrcweir		ExecMethod = FuTemporary;
301cdf0e10cSrcweir		StateMethod = GetMenuState;
302cdf0e10cSrcweir	]
303cdf0e10cSrcweir}
304cdf0e10cSrcweir
305cdf0e10cSrcweirshell SlideSorterController
306cdf0e10cSrcweir{
307cdf0e10cSrcweir    import SlideSorterView[Automation];
308cdf0e10cSrcweir}
309cdf0e10cSrcweir
310cdf0e10cSrcweirshell SlideSorterViewShell
311cdf0e10cSrcweir{
312cdf0e10cSrcweir    import SlideSorterView[Automation];
313cdf0e10cSrcweir}
314