lok: status update - avoid SIGFPE on zero range.
[LibreOffice.git] / sd / sdi / outlnvsh.sdi
blobb6887aa235b0640923c07064e0619e563806834a
1 /*
2  * This file is part of the LibreOffice project.
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
10  *   Licensed to the Apache Software Foundation (ASF) under one or more
11  *   contributor license agreements. See the NOTICE file distributed
12  *   with this work for additional information regarding copyright
13  *   ownership. The ASF licenses this file to you under the Apache
14  *   License, Version 2.0 (the "License"); you may not use this file
15  *   except in compliance with the License. You may obtain a copy of
16  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
17  */
19 interface OutlineView
21     SID_CUT // ole : no, status : ?
22     [
23         ExecMethod = FuSupport ;
24         StateMethod = GetMenuState ;
25     ]
26     SID_COPY // ole : no, status : ?
27     [
28         ExecMethod = FuSupport ;
29         StateMethod = GetMenuState ;
30     ]
31     SID_PASTE // ole : no, status : ?
32     [
33         ExecMethod = FuSupport ;
34         StateMethod = GetMenuState ;
35     ]
36     SID_PASTE_UNFORMATTED // ole : no, status : ?
37     [
38         ExecMethod = FuSupport ;
39         StateMethod = GetMenuState ;
40     ]
41     SID_DELETE // ole : no, status : ?
42     [
43         ExecMethod = FuSupport ;
44         StateMethod = GetMenuState ;
45         Asynchron ;
46     ]
47     SID_DRAWINGMODE // ole : no, status : play rec
48     [
49         ExecMethod = FuSupport ;
50         StateMethod = GetMenuState ;
51     ]
52     SID_ZOOM_NEXT // ole : no, status : play rec
53     [
54         ExecMethod = FuSupport ;
55         StateMethod = GetMenuState ;
56     ]
57     SID_ZOOM_PREV // ole : no, status : play rec
58     [
59         ExecMethod = FuSupport ;
60         StateMethod = GetMenuState ;
61     ]
62     SID_ZOOM_TOOLBOX // ole : no, status : ?
63     [
64         ExecMethod = FuTemporary ;
65         StateMethod = GetStatusBarState ;
66     ]
67     SID_ATTR_ZOOM // ole : no, status : ?
68     [
69         ExecMethod = FuTemporary ;
70         StateMethod = GetStatusBarState ;
71     ]
72     SID_ATTR_ZOOMSLIDER // status()
73     [
74         ExecMethod = FuTemporary ;
75         StateMethod = GetStatusBarState ;
76     ]
77     SID_ZOOM_OUT // ole : no, status : play rec
78     [
79         ExecMethod = FuTemporary ;
80         StateMethod = GetMenuState ;
81     ]
82     SID_ZOOM_IN // ole : no, status : play rec
83     [
84         ExecMethod = FuTemporary ;
85         StateMethod = GetMenuState ;
86     ]
87     SID_SIZE_REAL // ole : no, status : play rec
88     [
89         ExecMethod = FuTemporary ;
90         StateMethod = GetMenuState ;
91     ]
92     SID_SIZE_VISAREA // ole : no, status : no
93     [
94         ExecMethod = FuTemporary ;
95         StateMethod = GetMenuState ;
96     ]
97     SID_HYPERLINK_SETLINK // ole : no, status : no
98     [
99         ExecMethod = FuTemporaryModify ;
100     ]
101     SID_HYPERLINK_GETLINK // ole : no, status : no
102     [
103         StateMethod = GetCtrlState ;
104     ]
105     SID_READONLY_MODE // ole : no, status : no
106     [
107         StateMethod = GetCtrlState ;
108     ]
109     SID_OUTLINE_FORMAT // ole : no, status : ?
110     [
111         ExecMethod = FuTemporary ;
112         StateMethod = GetMenuState ;
113     ]
114     SID_OUTLINE_COLLAPSE_ALL // ole : no, status : ?
115     [
116         ExecMethod = FuTemporary ;
117         StateMethod = GetMenuState ;
118     ]
119     SID_OUTLINE_COLLAPSE // ole : no, status : ?
120     [
121         ExecMethod = FuTemporary ;
122         StateMethod = GetMenuState ;
123     ]
124     SID_OUTLINE_EXPAND_ALL // ole : no, status : ?
125     [
126         ExecMethod = FuTemporary ;
127         StateMethod = GetMenuState ;
128     ]
129     SID_OUTLINE_EXPAND // ole : no, status : ?
130     [
131         ExecMethod = FuTemporary ;
132         StateMethod = GetMenuState ;
133     ]
134     SID_CHARMAP // ole : no, status : ?
135     [
136         ExecMethod = FuTemporaryModify ;
137         StateMethod = GetMenuState ;
138     ]
139     SID_EMOJI_CONTROL // ole : no, status : ?
140     [
141         ExecMethod = FuTemporaryModify ;
142         StateMethod = GetMenuState ;
143     ]
144     SID_CHARMAP_CONTROL // ole : no, status : ?
145     [
146         ExecMethod = FuTemporaryModify ;
147         StateMethod = GetMenuState ;
148     ]
149     FN_INSERT_SOFT_HYPHEN // status(final|play)
150     [
151         ExecMethod = FuTemporaryModify ;
152         StateMethod = GetMenuState ;
153     ]
154     FN_INSERT_HARDHYPHEN // status()
155     [
156         ExecMethod = FuTemporaryModify ;
157         StateMethod = GetMenuState ;
158     ]
159     FN_INSERT_HARD_SPACE // status(final|play)
160     [
161         ExecMethod = FuTemporaryModify ;
162         StateMethod = GetMenuState ;
163     ]
164     FN_INSERT_NNBSP // status(final|play)
165     [
166         ExecMethod = FuTemporaryModify ;
167         StateMethod = GetMenuState ;
168     ]
169     SID_INSERT_RLM
170     [
171         ExecMethod = FuTemporary ;
172         StateMethod = GetMenuState ;
173     ]
174     SID_INSERT_LRM
175     [
176         ExecMethod = FuTemporaryModify ;
177         StateMethod = GetMenuState ;
178     ]
179     SID_INSERT_ZWSP
180     [
181         ExecMethod = FuTemporaryModify ;
182         StateMethod = GetMenuState ;
183     ]
184     SID_INSERT_ZWNBSP
185     [
186         ExecMethod = FuTemporaryModify ;
187         StateMethod = GetMenuState ;
188     ]
189     FN_SVX_SET_BULLET
190     [
191         ExecMethod = FuTemporaryModify ;
192     ]
193     FN_SVX_SET_NUMBER
194     [
195         ExecMethod = FuTemporaryModify ;
196     ]
197     SID_OUTLINE_BULLET // ole : no, status : ?
198     [
199         ExecMethod = FuTemporaryModify ;
200         StateMethod = GetMenuState ;
201         Export ;
202     ]
203     SID_CHAR_DLG // ole : no, status : ?
204     [
205         ExecMethod = FuTemporaryModify ;
206         StateMethod = GetMenuState ;
207          //        Export ;
208     ]
209     SID_CHAR_DLG_EFFECT // wj for sym2_1876
210     [
211         ExecMethod = FuTemporaryModify ;
212         StateMethod = GetMenuState ;
213          //        Export ;
214     ]
215     SID_SELECTALL // ole : no, status : ?
216     [
217         ExecMethod = FuTemporary ;
218         StateMethod = GetMenuState ;
219         GroupId = SfxGroupId::Document ;
220     ]
221     SID_INSERTFILE // ole : no, status : ?
222     [
223         ExecMethod = FuTemporaryModify ;
224         StateMethod = GetMenuState ;
225     ]
226     SID_PRESENTATION // ole : no, status : ?
227     [
228         ExecMethod = FuTemporary ;
229         StateMethod = GetMenuState ;
230     ]
231     SID_PRESENTATION_CURRENT_SLIDE // ole : no, status : ?
232     [
233         ExecMethod = FuTemporary ;
234         StateMethod = GetMenuState ;
235     ]
236     SID_EDIT_OUTLINER // ole : no, status : ?
237     [
238         ExecMethod = FuPermanent ;
239         StateMethod = GetMenuState ;
240     ]
241     SID_SAVEDOC // ole : no, status : ?
242     [
243         ExecMethod = Execute ;
244         StateMethod = GetMenuState ;
245         GroupId = SfxGroupId::Document ;
246     ]
247     SID_SAVEASDOC // ole : no, status : ?
248     [
249         ExecMethod = Execute ;
250         GroupId = SfxGroupId::Document ;
251     ]
252     SID_RULER // ole : no, status : ?
253     [
254         ExecMethod = FuSupport ;
255         StateMethod = GetMenuState ;
256     ]
257     SID_STATUS_PAGE // ole : no, status : ?
258     [
259         ExecMethod = ExecStatusBar ;
260         StateMethod = GetStatusBarState ;
261     ]
262     SID_STATUS_LAYOUT // ole : no, status : ?
263     [
264         ExecMethod = ExecStatusBar ;
265         StateMethod = GetStatusBarState ;
266     ]
267     SID_THESAURUS // ole : no, status : ?
268     [
269         ExecMethod = FuTemporaryModify ;
270         StateMethod = GetMenuState ;
271     ]
272     SID_COLORVIEW // ole : no, status : ?
273     [
274         ExecMethod = FuTemporary ;
275         StateMethod = GetMenuState ;
276     ]
277     SID_SET_DEFAULT // ole : no, status : ?
278     [
279         ExecMethod = FuTemporaryModify ;
280         StateMethod = GetMenuState ;
281     ]
282     SID_PRESENTATIONOBJECT
283     [
284         ExecMethod = FuTemporaryModify ;
285         StateMethod = GetMenuState ;
286     ]
287      // Templates
288      // no menu entry
289     SID_STYLE_FAMILY2 // ole : no, status : ?
290     [
291         ExecMethod = FuTemporary ;
292         StateMethod = GetAttrState ;
293         GroupId = SfxGroupId::Document ;
294     ]
295     SID_STYLE_FAMILY3 // ole : no, status : ?
296     [
297         ExecMethod = FuTemporary ;
298         StateMethod = GetAttrState ;
299         GroupId = SfxGroupId::Document ;
300     ]
301      // Templates
302      // no menu entry
303     SID_STYLE_FAMILY5 // ole : no, status : ?
304     [
305         ExecMethod = FuTemporary ;
306         StateMethod = GetAttrState ;
307     ]
308      // no menu entry
309     SID_STYLE_EDIT // ole : no, status : ?
310     [
311         ExecMethod = FuTemporary ;
312         StateMethod = GetAttrState ;
313         GroupId = SfxGroupId::Document ;
314     ]
315      // no menu entry
316     SID_STYLE_UPDATE_BY_EXAMPLE // ole : no, status : ?
317     [
318         ExecMethod = FuTemporary ;
319         StateMethod = GetAttrState ;
320         GroupId = SfxGroupId::Document ;
321     ]
322      // no menu entry
323     SID_STYLE_WATERCAN // ole : no, status : ?
324     [
325         ExecMethod = FuTemporary ;
326         StateMethod = GetAttrState ;
327         GroupId = SfxGroupId::Document ;
328     ]
329      // no menu entry
330     SID_STYLE_NEW_BY_EXAMPLE // ole : no, status : ?
331     [
332         ExecMethod = FuTemporary ;
333         StateMethod = GetAttrState ;
334         GroupId = SfxGroupId::Document ;
335     ]
336      // no menu entry
337     SID_STYLE_NEW // ole : no, status : ?
338     [
339         ExecMethod = FuTemporary ;
340         StateMethod = GetAttrState ;
341         GroupId = SfxGroupId::Document ;
342     ]
343      // no menu entry
344     SID_STYLE_DELETE // ole : no, status : ?
345     [
346         ExecMethod = FuTemporary ;
347         StateMethod = GetAttrState ;
348         GroupId = SfxGroupId::Document ;
349     ]
350     SID_STYLE_HIDE
351     [
352         ExecMethod = FuTemporary ;
353         StateMethod = GetAttrState ;
354         GroupId = SfxGroupId::Document ;
355     ]
356     SID_STYLE_SHOW
357     [
358         ExecMethod = FuTemporary ;
359         StateMethod = GetAttrState ;
360         GroupId = SfxGroupId::Document ;
361     ]
362     SID_AUTOSPELL_CHECK // ole : no, status : play rec
363     [
364         ExecMethod = FuSupport ;
365         StateMethod = GetMenuState ;
366     ]
367     SID_PREVIEW_STATE // ole : no, status : ?
368     [
369         ExecMethod = FuTemporary ;
370         StateMethod = GetMenuState ;
371     ]
372     SID_PRESENTATION_DLG
373     [
374         ExecMethod = FuTemporary ;
375     ]
376     SID_REMOTE_DLG
377     [
378         ExecMethod = FuTemporary ;
379         StateMethod = GetMenuState ;
380     ]
381     SID_CUSTOMSHOW_DLG
382     [
383         ExecMethod = FuTemporary ;
384     ]
385     SID_EXPAND_PAGE // ole : no, status : ?
386     [
387         ExecMethod = FuTemporaryModify ;
388         StateMethod = GetMenuState ;
389     ]
390     SID_SUMMARY_PAGE // ole : no, status : ?
391     [
392         ExecMethod = FuTemporaryModify ;
393         StateMethod = GetMenuState ;
394     ]
395     SID_INSERT_FLD_DATE_FIX // ole : no, status : play rec
396     [
397         ExecMethod = FuTemporaryModify ;
398         StateMethod = GetMenuState ;
399     ]
400     SID_INSERT_FLD_DATE_VAR // ole : no, status : play rec
401     [
402         ExecMethod = FuTemporaryModify ;
403         StateMethod = GetMenuState ;
404     ]
405     SID_INSERT_FLD_TIME_FIX // ole : no, status : play rec
406     [
407         ExecMethod = FuTemporaryModify ;
408         StateMethod = GetMenuState ;
409     ]
410     SID_INSERT_FLD_TIME_VAR // ole : no, status : play rec
411     [
412         ExecMethod = FuTemporaryModify ;
413         StateMethod = GetMenuState ;
414     ]
415     SID_INSERT_FLD_PAGE_TITLE // ole : no, status : play rec
416     [
417         ExecMethod = FuTemporaryModify ;
418         StateMethod = GetMenuState ;
419     ]
420     SID_INSERT_FLD_PAGE // ole : no, status : play rec
421     [
422         ExecMethod = FuTemporaryModify ;
423         StateMethod = GetMenuState ;
424     ]
425     SID_INSERT_FLD_PAGES // ole : no, status : play rec
426     [
427         ExecMethod = FuTemporaryModify ;
428         StateMethod = GetMenuState ;
429     ]
430     SID_INSERT_FLD_FILE // ole : no, status : play rec
431     [
432         ExecMethod = FuTemporaryModify ;
433         StateMethod = GetMenuState ;
434     ]
435     SID_INSERT_FLD_AUTHOR // ole : no, status : play rec
436     [
437         ExecMethod = FuTemporaryModify ;
438         StateMethod = GetMenuState ;
439     ]
440     SID_MODIFY_FIELD // ole : no, status : play rec
441     [
442         ExecMethod = FuTemporaryModify ;
443         StateMethod = GetMenuState ;
444     ]
446     SID_MAIL_SCROLLBODY_PAGEDOWN // ole : no, status : ?
447     [
448         ExecMethod = ExecCtrl ;
449         StateMethod = GetCtrlState ;
450     ]
451     SID_STYLE_FAMILY
452     [
453         ExecMethod = FuSupport ;
454         StateMethod = GetMenuState ;
455     ]
456     SID_TRANSLITERATE_SENTENCE_CASE // ole : no, status : ?
457     [
458         ExecMethod = FuSupport ;
459         StateMethod = GetCtrlState ;
460     ]
461     SID_TRANSLITERATE_TITLE_CASE // ole : no, status : ?
462     [
463         ExecMethod = FuSupport ;
464         StateMethod = GetCtrlState ;
465     ]
466     SID_TRANSLITERATE_TOGGLE_CASE // ole : no, status : ?
467     [
468         ExecMethod = FuSupport ;
469         StateMethod = GetCtrlState ;
470     ]
471     SID_TRANSLITERATE_UPPER // ole : no, status : ?
472     [
473         ExecMethod = FuSupport ;
474         StateMethod = GetCtrlState ;
475     ]
476     SID_TRANSLITERATE_LOWER // ole : no, status : ?
477     [
478         ExecMethod = FuSupport ;
479         StateMethod = GetCtrlState ;
480     ]
481     SID_TRANSLITERATE_HALFWIDTH // ole : no, status : ?
482     [
483         ExecMethod = FuSupport ;
484         StateMethod = GetCtrlState ;
485     ]
486     SID_TRANSLITERATE_FULLWIDTH // ole : no, status : ?
487     [
488         ExecMethod = FuSupport ;
489         StateMethod = GetCtrlState ;
490     ]
491     SID_TRANSLITERATE_HIRAGANA // ole : no, status : ?
492     [
493         ExecMethod = FuSupport ;
494         StateMethod = GetCtrlState ;
495     ]
496     SID_TRANSLITERATE_KATAKANA // ole : no, status : ?
497     [
498         ExecMethod = FuSupport ;
499         StateMethod = GetCtrlState ;
500     ]
501     SID_OPT_LOCALE_CHANGED // ole : no, status : ?
502     [
503         ExecMethod = ExecCtrl ;
504         StateMethod = GetCtrlState ;
505     ]
507     SID_GETUNDOSTRINGS // ole : no, status : ?
508     [
509         ExecMethod = FuSupport ;
510         StateMethod = GetMenuState ;
511     ]
512     SID_UNDO // ole : no, status : ?
513     [
514         ExecMethod = FuSupport ;
515         StateMethod = GetMenuState ;
516     ]
517     SID_GETREDOSTRINGS // ole : no, status : ?
518     [
519         ExecMethod = FuSupport ;
520         StateMethod = GetMenuState ;
521     ]
522     SID_REDO // ole : no, status : ?
523     [
524         ExecMethod = FuSupport ;
525         StateMethod = GetMenuState ;
526     ]
528     SID_SEARCH_OPTIONS // ole : ?, status : ?
529     [
530         ExecMethod = Execute ;
531         StateMethod = GetState ;
532         GroupId = SfxGroupId::Document ;
533     ]
534     SID_SEARCH_ITEM // ole : ?, status : ?
535     [
536         ExecMethod = Execute ;
537         StateMethod = GetState ;
538     ]
539     SID_SPELL_DIALOG // ole : no, status : ?
540     [
541         ExecMethod = Execute ;
542         StateMethod = GetMenuState ;
543     ]
544     SID_PHOTOALBUM
545     [
546         ExecMethod = FuTemporary ;
547         StateMethod = GetMenuState ;
548     ]
551 shell OutlineViewShell
553     import OutlineView;