xref: /trunk/main/sw/sdi/_basesh.sdi (revision 6bcc9fe0e9ad8e3adcad10b35c622961480f57f3)
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
22interface BaseTextSelection
23[
24    Automation = FALSE;
25]
26{
27    SID_ATTR_BRUSH
28    [
29        ExecMethod = Execute ;
30        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
31    ]
32
33    SID_DELETE // status(final|play)
34    [
35        ExecMethod = ExecDelete ;
36        StateMethod = GetState ;
37        FastCall = FALSE ;
38    ]
39
40    FN_BACKSPACE // status(final|play)
41    [
42        ExecMethod = ExecDelete ;
43        StateMethod = GetState ;
44        FastCall = FALSE ;
45    ]
46
47    FN_SHIFT_BACKSPACE // status()
48    [
49        ExecMethod = ExecDelete ;
50        StateMethod = NoState ;
51        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
52    ]
53
54    SID_UNDO // status(final|play)
55    [
56        ExecMethod = ExecUndo ;
57        StateMethod = StateUndo ;
58    ]
59
60    SID_GETUNDOSTRINGS // status(final|play)
61    [
62        StateMethod = StateUndo ;
63    ]
64
65    SID_REDO // status(final|play)
66    [
67        ExecMethod = ExecUndo ;
68        StateMethod = StateUndo ;
69    ]
70
71    SID_GETREDOSTRINGS // status(final|play)
72    [
73        StateMethod = StateUndo ;
74    ]
75
76    SID_REPEAT // status()
77    [
78        ExecMethod = ExecUndo ;
79        StateMethod = StateUndo ;
80        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
81    ]
82
83    SID_CUT // status(final|play)
84    [
85        ExecMethod = ExecClpbrd ;
86        StateMethod = StateClpbrd ;
87        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
88    ]
89
90    SID_COPY // status(final|play)
91    [
92        ExecMethod = ExecClpbrd ;
93        StateMethod = StateClpbrd ;
94    ]
95
96    SID_PASTE // status(final|play)
97    [
98        ExecMethod = ExecClpbrd ;
99        StateMethod = StateClpbrd ;
100        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
101    ]
102
103    SID_CLIPBOARD_FORMAT_ITEMS // status(final|play)
104    [
105        StateMethod = StateClpbrd ;
106        ExecMethod = ExecClpbrd ;
107        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
108    ]
109
110    SID_PASTE_UNFORMATTED // status(final|play)
111    [
112        ExecMethod = ExecClpbrd ;
113        StateMethod = StateClpbrd ;
114        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
115    ]
116
117    SID_PASTE_SPECIAL // status(final|play)
118    [
119        ExecMethod = ExecClpbrd ;
120        StateMethod = StateClpbrd ;
121        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
122    ]
123
124    FN_REPAGINATE // status(final|play)
125    [
126        ExecMethod = Execute ;
127        StateMethod = NoState ;
128    ]
129
130    FN_CHANGE_DBFIELD
131    [
132        ExecMethod = ExecField ;
133        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
134    ]
135
136    FN_UPDATE_FIELDS // status(final|play)
137    [
138        ExecMethod = Execute ;
139        StateMethod = NoState ;
140    ]
141
142    FN_UPDATE_CHARTS // status(final|play)
143    [
144        ExecMethod = Execute ;
145        StateMethod = GetState ;
146    ]
147    FN_UPDATE_ALL // status(final|play)
148    [
149        ExecMethod = Execute ;
150        StateMethod = NoState ;
151    ]
152
153    FN_UPDATE_INPUTFIELDS // status(final|play)
154    [
155        ExecMethod = Execute ;
156        StateMethod = NoState ;
157    ]
158
159    FN_FRAME_TO_ANCHOR // status()
160    [
161        /*OS: Datentypen unvertraeglich ?? */
162        ExecMethod = Execute ;
163        StateMethod = NoState ;
164    ]
165
166    FN_GOTO_NEXT_OBJ // status(final|play)
167    [
168        ExecMethod = Execute ;
169        StateMethod = NoState ;
170    ]
171
172    FN_GOTO_PREV_OBJ // status(final|play)
173    [
174        ExecMethod = Execute ;
175        StateMethod = NoState ;
176    ]
177
178    FN_GOTO_NEXT_MARK // status(final|play)
179    [
180        ExecMethod = Execute ;
181        StateMethod = NoState ;
182    ]
183
184    FN_GOTO_PREV_MARK // status(final|play)
185    [
186        ExecMethod = Execute ;
187        StateMethod = NoState ;
188    ]
189
190    FN_PREV_BOOKMARK // status(final|play)
191    [
192        ExecMethod = Execute ;
193        StateMethod = NoState ;
194    ]
195
196    FN_NEXT_BOOKMARK // status(final|play)
197    [
198        ExecMethod = Execute ;
199        StateMethod = NoState ;
200    ]
201
202    SID_GALLERY_FORMATS // status()
203    [
204        Export = FALSE ;
205        ExecMethod = Execute ;
206    ]
207
208    SID_GALLERY_ENABLE_ADDCOPY
209    [
210        Export = FALSE;
211        StateMethod = GetState;
212        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
213    ]
214
215    SID_BACKGROUND_COLOR // status()
216    [
217        ExecMethod = ExecBckCol ;
218        StateMethod = GetBckColState ;
219        Cachable , AutoUpdate ;
220        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
221    ]
222
223    FN_EDIT_REGION // status(final|play)
224    [
225        ExecMethod = EditRegionDialog ;
226        StateMethod = GetState ;
227    ]
228
229    FN_INSERT_REGION // status()
230    [
231        ExecMethod = InsertRegionDialog;
232        StateMethod = GetState;
233        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
234    ]
235
236    FN_FORMAT_PAGE_DLG // status(final|play)
237    [
238        ExecMethod = ExecDlg ;
239        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
240    ]
241
242    FN_FORMAT_PAGE_COLUMN_DLG // status(final|play)
243    [
244        ExecMethod = ExecDlg ;
245        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
246    ]
247
248    FN_FORMAT_PAGE_SETTING_DLG
249    [
250        ExecMethod = ExecDlg ;
251        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
252    ]
253
254    FN_CONVERT_TABLE_TO_TEXT
255    [
256        ExecMethod = Execute ;
257        StateMethod = GetState ;
258        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
259    ]
260
261    FN_CONVERT_TEXT_TO_TABLE
262    [
263        ExecMethod = Execute ;
264        StateMethod = GetState ;
265        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
266    ]
267    FN_CONVERT_TEXT_TABLE // status(final|play)
268    [
269        ExecMethod = Execute ;
270        StateMethod = GetState ;
271        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
272    ]
273    FN_FORMAT_BORDER_DLG // status(final|play)
274    [
275        ExecMethod = ExecDlg ;
276        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
277    ]
278
279    SID_ATTR_BORDER_INNER // status()
280    [
281        StateMethod = GetBorderState ;
282        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
283    ]
284
285        SID_ATTR_BORDER_OUTER // status()
286    [
287        ExecMethod = Execute ;
288        StateMethod = GetBorderState ;
289        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
290    ]
291
292    SID_BORDER_REDUCED_MODE
293    [
294        StateMethod = GetBorderState ;
295        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
296    ]
297
298    FN_FORMAT_BACKGROUND_DLG // status(final|play)
299    [
300        ExecMethod = ExecDlg ;
301        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
302    ]
303
304    SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN // status()
305    [
306        SfxUInt16Item WatercanStyleModeOnOff
307        (
308            SfxStringItem Param SID_STYLE_WATERCAN ,
309            SfxUInt16Item Family SID_STYLE_FAMILY
310        ) ;
311        ExecMethod = Execute ;
312        StateMethod = StateStyle ;
313            NoRecord;
314        GroupId = GID_TEMPLATE ;
315        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
316    ]
317
318    SID_STYLE_UPDATE_BY_EXAMPLE // status()
319    [
320        ExecMethod = Execute ;
321        StateMethod = StateStyle ;
322    ]
323
324    SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
325    [
326        ExecMethod = Execute ;
327        StateMethod = StateStyle ;
328        FastCall = TRUE; // fuer Macroausfuehrung!
329    ]
330    SID_STYLE_APPLY // status(fina|play)
331    [
332        ExecMethod = Execute ;
333        StateMethod = StateStyle ;
334        FastCall = TRUE;// fuer Macroausfuehrung!
335        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
336    ]
337
338    SID_STYLE_FAMILY1 // status(fina|play)
339    [
340        StateMethod = StateStyle ;
341    ]
342
343    SID_STYLE_FAMILY2 // status(fina|play)
344    [
345        StateMethod = StateStyle ;
346    ]
347
348    SID_STYLE_FAMILY3 // status(fina|play)
349    [
350        StateMethod = StateStyle ;
351    ]
352
353    SID_STYLE_FAMILY4 // status(fina|play)
354    [
355        StateMethod = StateStyle ;
356    ]
357
358    SID_STYLE_FAMILY5 // status(fina|play)
359    [
360        StateMethod = StateStyle ;
361    ]
362
363     //OS: Selection.Escape gibt es zusaetzlich zu Window.Escape
364
365    FN_ESCAPE // status(final|play|rec)
366    [
367        ExecMethod = Execute ;
368    ]
369
370    SID_IMAP
371    [
372        ExecMethod = Execute ;
373        StateMethod = GetState ;
374        Toggle = FALSE;
375    ]
376
377    SID_IMAP_EXEC
378    [
379        ExecMethod = Execute ;
380        StateMethod = GetState ;
381        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
382    ]
383// Methode fuer Rahmen und Objekte
384    FN_TOOL_ANCHOR
385    [
386        ExecMethod = Execute ;
387        StateMethod = GetState ;
388        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
389    ]
390
391    FN_TOOL_ANCHOR_PARAGRAPH
392    [
393        ExecMethod = Execute ;
394        StateMethod = GetState ;
395        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
396    ]
397
398    FN_TOOL_ANCHOR_CHAR
399    [
400        ExecMethod = Execute ;
401        StateMethod = GetState ;
402        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
403    ]
404
405    FN_TOOL_ANCHOR_AT_CHAR
406    [
407        ExecMethod = Execute ;
408        StateMethod = GetState ;
409        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
410    ]
411
412    FN_TOOL_ANCHOR_FRAME
413    [
414        ExecMethod = Execute ;
415        StateMethod = GetState ;
416        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
417    ]
418
419    FN_UPDATE_ALL_LINKS // status()
420    [
421        ExecMethod = Execute ;
422        StateMethod = GetState ;
423    ]
424
425/*-----------------22.01.97 09.41-------------------
426// ab hier immer Export = FALSE
427--------------------------------------------------*/
428
429    FN_FRAME_WRAP // status()
430    [
431        ExecMethod = Execute ;
432        StateMethod = GetState ;
433        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
434        Export = FALSE;
435    ]
436
437    FN_FRAME_WRAP_IDEAL // status()
438    [
439        ExecMethod = Execute ;
440        StateMethod = GetState ;
441        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
442        Export = FALSE;
443    ]
444
445    FN_FRAME_NOWRAP // status()
446    [
447        ExecMethod = Execute ;
448        StateMethod = GetState ;
449        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
450        Export = FALSE;
451    ]
452
453    FN_FRAME_WRAPTHRU // status()
454    [
455        ExecMethod = Execute ;
456        StateMethod = GetState ;
457        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
458        Export = FALSE;
459    ]
460
461    FN_FRAME_WRAPTHRU_TRANSP // status()
462    [
463        ExecMethod = Execute ;
464        StateMethod = GetState ;
465        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
466        Export = FALSE;
467    ]
468
469    FN_FRAME_WRAP_CONTOUR // status()
470    [
471        ExecMethod = Execute ;
472        StateMethod = GetState ;
473        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
474        Export = FALSE;
475    ]
476
477    FN_WRAP_ANCHOR_ONLY // status()
478    [
479        ExecMethod = Execute ;
480        StateMethod = GetState ;
481        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
482        Export = FALSE;
483    ]
484
485    FN_FRAME_WRAP_LEFT // status()
486    [
487        ExecMethod = Execute ;
488        StateMethod = GetState ;
489        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
490        Export = FALSE;
491    ]
492
493    FN_FRAME_WRAP_RIGHT // status()
494    [
495        ExecMethod = Execute ;
496        StateMethod = GetState ;
497        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
498        Export = FALSE;
499    ]
500
501
502
503    SID_GALLERY_BG_BRUSH
504    [
505        ExecMethod = ExecuteGallery;
506        StateMethod = GetGalleryState;
507        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
508        Export = FALSE;
509    ]
510    SID_ATTR_BORDER_SHADOW // status(final|play)
511    [
512        ExecMethod = Execute ;
513        StateMethod = GetState ;
514        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
515    ]
516
517    FN_XFORMS_DESIGN_MODE
518    [
519        ExecMethod = Execute;
520        StateMethod = GetState;
521    ]
522}
523