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