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