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