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