make gbuild makefiles run independant of pwd again
[LibreOffice.git] / sw / sdi / _basesh.sdi
blob91e224f988d3a6969635ff641edd9fa6f40456d2
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
28 interface BaseTextSelection
30     Automation = FALSE;
33     SID_ATTR_BRUSH
34     [
35         ExecMethod = Execute ;
36         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
37     ]
39     SID_DELETE  // status(final|play)
40     [
41         ExecMethod = ExecDelete ;
42         StateMethod = GetState ;
43         FastCall = FALSE ;
44         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
45     ]
47     FN_BACKSPACE  // status(final|play)
48     [
49         ExecMethod = ExecDelete ;
50         StateMethod = GetState ;
51         FastCall = FALSE ;
52         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
53     ]
55     FN_SHIFT_BACKSPACE // status()
56     [
57         ExecMethod = ExecDelete ;
58         StateMethod = NoState ;
59         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
60     ]
62     SID_UNDO // status(final|play)
63     [
64         ExecMethod = ExecUndo ;
65         StateMethod = StateUndo ;
66     ]
68     SID_GETUNDOSTRINGS  // status(final|play)
69     [
70         StateMethod = StateUndo ;
71     ]
73     SID_REDO // status(final|play)
74     [
75         ExecMethod = ExecUndo ;
76         StateMethod = StateUndo ;
77     ]
79     SID_GETREDOSTRINGS  // status(final|play)
80     [
81         StateMethod = StateUndo ;
82     ]
84     SID_REPEAT // status()
85     [
86         ExecMethod = ExecUndo ;
87         StateMethod = StateUndo ;
88         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
89     ]
91     SID_CUT // status(final|play)
92     [
93         ExecMethod = ExecClpbrd ;
94         StateMethod = StateClpbrd ;
95         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
96     ]
98     SID_COPY   // status(final|play)
99     [
100         ExecMethod = ExecClpbrd ;
101         StateMethod = StateClpbrd ;
102     ]
104     SID_PASTE  // status(final|play)
105     [
106         ExecMethod = ExecClpbrd ;
107         StateMethod = StateClpbrd ;
108         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
109     ]
111     SID_CLIPBOARD_FORMAT_ITEMS  // status(final|play)
112     [
113         StateMethod = StateClpbrd ;
114         ExecMethod = ExecClpbrd ;
115         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
116     ]
118     SID_PASTE_UNFORMATTED  // status(final|play)
119     [
120         ExecMethod = ExecClpbrd ;
121         StateMethod = StateClpbrd ;
122         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
123     ]
125     SID_PASTE_SPECIAL  // status(final|play)
126     [
127         ExecMethod = ExecClpbrd ;
128         StateMethod = StateClpbrd ;
129         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
130     ]
132     FN_REPAGINATE  // status(final|play)
133     [
134         ExecMethod = Execute ;
135         StateMethod = NoState ;
136     ]
138     FN_CHANGE_DBFIELD
139     [
140         ExecMethod = ExecField ;
141         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
142     ]
144     FN_UPDATE_FIELDS // status(final|play)
145     [
146         ExecMethod = Execute ;
147         StateMethod = NoState ;
148     ]
150     FN_UPDATE_CHARTS // status(final|play)
151     [
152         ExecMethod = Execute ;
153         StateMethod = GetState ;
154     ]
155     FN_UPDATE_ALL // status(final|play)
156     [
157         ExecMethod = Execute ;
158         StateMethod = NoState ;
159     ]
161     FN_UPDATE_INPUTFIELDS  // status(final|play)
162     [
163         ExecMethod = Execute ;
164         StateMethod = NoState ;
165     ]
167     FN_FRAME_TO_ANCHOR // status()
168     [
169         /*OS: Datentypen unvertraeglich ?? */
170         ExecMethod = Execute ;
171         StateMethod = NoState ;
172     ]
174     FN_GOTO_NEXT_OBJ // status(final|play)
175     [
176         ExecMethod = Execute ;
177         StateMethod = NoState ;
178     ]
180     FN_GOTO_PREV_OBJ // status(final|play)
181     [
182         ExecMethod = Execute ;
183         StateMethod = NoState ;
184     ]
186     FN_GOTO_NEXT_MARK // status(final|play)
187     [
188         ExecMethod = Execute ;
189         StateMethod = NoState ;
190     ]
192     FN_GOTO_PREV_MARK  // status(final|play)
193     [
194         ExecMethod = Execute ;
195         StateMethod = NoState ;
196     ]
198     FN_PREV_BOOKMARK // status(final|play)
199     [
200         ExecMethod = Execute ;
201         StateMethod = NoState ;
202     ]
204     FN_NEXT_BOOKMARK // status(final|play)
205     [
206         ExecMethod = Execute ;
207         StateMethod = NoState ;
208     ]
210     SID_GALLERY_FORMATS // status()
211     [
212         Export = FALSE ;
213         ExecMethod = Execute ;
214     ]
216     SID_GALLERY_ENABLE_ADDCOPY
217     [
218         Export = FALSE;
219         StateMethod = GetState;
220         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
221     ]
223     SID_BACKGROUND_COLOR // status()
224     [
225         ExecMethod = ExecBckCol ;
226         StateMethod = GetBckColState ;
227         Cachable , AutoUpdate ;
228         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
229     ]
231     FN_EDIT_REGION // status(final|play)
232     [
233         ExecMethod = EditRegionDialog ;
234         StateMethod = GetState ;
235     ]
237     FN_INSERT_REGION // status()
238     [
239         ExecMethod = InsertRegionDialog;
240         StateMethod = GetState;
241         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
242     ]
244     FN_FORMAT_PAGE_DLG  // status(final|play)
245     [
246         ExecMethod = ExecDlg ;
247         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
248     ]
250     FN_FORMAT_TITLEPAGE_DLG  // status(final|play)
251     [
252         ExecMethod = ExecDlg ;
253         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
254     ]
256     FN_FORMAT_PAGE_COLUMN_DLG  // status(final|play)
257     [
258         ExecMethod = ExecDlg ;
259         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
260     ]
262     FN_CONVERT_TABLE_TO_TEXT
263     [
264         ExecMethod = Execute ;
265         StateMethod = GetState ;
266         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
267     ]
269     FN_CONVERT_TEXT_TO_TABLE
270     [
271         ExecMethod = Execute ;
272         StateMethod = GetState ;
273         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
274     ]
275     FN_CONVERT_TEXT_TABLE // status(final|play)
276     [
277         ExecMethod = Execute ;
278         StateMethod = GetState ;
279         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
280     ]
281     FN_FORMAT_BORDER_DLG // status(final|play)
282     [
283         ExecMethod = ExecDlg ;
284         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
285     ]
287     SID_ATTR_BORDER_INNER // status()
288     [
289         StateMethod = GetBorderState ;
290         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
291     ]
293         SID_ATTR_BORDER_OUTER // status()
294     [
295         ExecMethod = Execute ;
296         StateMethod = GetBorderState ;
297         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
298     ]
300     SID_BORDER_REDUCED_MODE
301     [
302         StateMethod = GetBorderState ;
303         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
304     ]
306     FN_FORMAT_BACKGROUND_DLG  // status(final|play)
307     [
308         ExecMethod = ExecDlg ;
309         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
310     ]
312     SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN // status()
313     [
314         SfxUInt16Item WatercanStyleModeOnOff
315         (
316             SfxStringItem Param SID_STYLE_WATERCAN ,
317             SfxUInt16Item Family SID_STYLE_FAMILY
318         ) ;
319         ExecMethod = Execute ;
320         StateMethod = StateStyle ;
321             NoRecord;
322         GroupId = GID_TEMPLATE ;
323         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
324     ]
326     SID_STYLE_UPDATE_BY_EXAMPLE // status()
327     [
328         ExecMethod = Execute ;
329         StateMethod = StateStyle ;
330     ]
332     SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
333     [
334         ExecMethod = Execute ;
335         StateMethod = StateStyle ;
336         FastCall = TRUE; // fuer Macroausfuehrung!
337     ]
338     SID_STYLE_APPLY // status(fina|play)
339     [
340         ExecMethod = Execute ;
341         StateMethod = StateStyle ;
342         FastCall = TRUE;// fuer Macroausfuehrung!
343         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
344     ]
346     SID_STYLE_FAMILY1 // status(fina|play)
347     [
348         StateMethod = StateStyle ;
349     ]
351     SID_STYLE_FAMILY2 // status(fina|play)
352     [
353         StateMethod = StateStyle ;
354     ]
356     SID_STYLE_FAMILY3 // status(fina|play)
357     [
358         StateMethod = StateStyle ;
359     ]
361     SID_STYLE_FAMILY4 // status(fina|play)
362     [
363         StateMethod = StateStyle ;
364     ]
366     SID_STYLE_FAMILY5 // status(fina|play)
367     [
368         StateMethod = StateStyle ;
369     ]
371      //OS: Selection.Escape gibt es zusaetzlich zu Window.Escape
373     FN_ESCAPE // status(final|play|rec)
374     [
375         ExecMethod = Execute ;
376     ]
378     SID_IMAP
379     [
380         ExecMethod = Execute ;
381         StateMethod = GetState ;
382         Toggle = FALSE;
383     ]
385     SID_IMAP_EXEC
386     [
387         ExecMethod = Execute ;
388         StateMethod = GetState ;
389         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
390     ]
391 // Methode fuer Rahmen und Objekte
392     FN_TOOL_ANCHOR
393     [
394         ExecMethod = Execute ;
395         StateMethod = GetState ;
396         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
397     ]
399     FN_TOOL_ANCHOR_PARAGRAPH
400     [
401         ExecMethod = Execute ;
402         StateMethod = GetState ;
403         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
404     ]
406     FN_TOOL_ANCHOR_CHAR
407     [
408         ExecMethod = Execute ;
409         StateMethod = GetState ;
410         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
411     ]
413     FN_TOOL_ANCHOR_AT_CHAR
414     [
415         ExecMethod = Execute ;
416         StateMethod = GetState ;
417         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
418     ]
420     FN_TOOL_ANCHOR_FRAME
421     [
422         ExecMethod = Execute ;
423         StateMethod = GetState ;
424         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
425     ]
427     FN_UPDATE_ALL_LINKS // status()
428     [
429         ExecMethod = Execute ;
430         StateMethod = GetState ;
431     ]
433 // from here on Export = FALSE
435     FN_FRAME_WRAP   // status()
436     [
437         ExecMethod = Execute ;
438         StateMethod = GetState ;
439         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
440         Export = FALSE;
441     ]
443     FN_FRAME_WRAP_IDEAL // status()
444     [
445         ExecMethod = Execute ;
446         StateMethod = GetState ;
447         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
448         Export = FALSE;
449     ]
451     FN_FRAME_NOWRAP   // status()
452     [
453         ExecMethod = Execute ;
454         StateMethod = GetState ;
455         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
456         Export = FALSE;
457     ]
459     FN_FRAME_WRAPTHRU   // status()
460     [
461         ExecMethod = Execute ;
462         StateMethod = GetState ;
463         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
464         Export = FALSE;
465     ]
467     FN_FRAME_WRAPTHRU_TRANSP // status()
468     [
469         ExecMethod = Execute ;
470         StateMethod = GetState ;
471         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
472         Export = FALSE;
473     ]
475     FN_FRAME_WRAP_CONTOUR // status()
476     [
477         ExecMethod = Execute ;
478         StateMethod = GetState ;
479         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
480         Export = FALSE;
481     ]
483     FN_WRAP_ANCHOR_ONLY // status()
484     [
485         ExecMethod = Execute ;
486         StateMethod = GetState ;
487         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
488         Export = FALSE;
489     ]
491     FN_FRAME_WRAP_LEFT // status()
492     [
493         ExecMethod = Execute ;
494         StateMethod = GetState ;
495         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
496         Export = FALSE;
497     ]
499     FN_FRAME_WRAP_RIGHT // status()
500     [
501         ExecMethod = Execute ;
502         StateMethod = GetState ;
503         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
504         Export = FALSE;
505     ]
509     SID_GALLERY_BG_BRUSH
510     [
511         ExecMethod = ExecuteGallery;
512         StateMethod = GetGalleryState;
513         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
514         Export = FALSE;
515     ]
516     SID_ATTR_BORDER_SHADOW // status(final|play)
517     [
518         ExecMethod = Execute ;
519         StateMethod = GetState ;
520         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
521     ]
523     FN_XFORMS_DESIGN_MODE
524     [
525         ExecMethod = Execute;
526         StateMethod = GetState;
527     ]