xref: /trunk/main/sw/sdi/_basesh.sdi (revision ff0525f2)
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_FORMAT_PAGE_SETTING_DLG
253    [
254        ExecMethod = ExecDlg ;
255        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
256    ]
257
258    FN_CONVERT_TABLE_TO_TEXT
259    [
260        ExecMethod = Execute ;
261        StateMethod = GetState ;
262        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
263    ]
264
265    FN_CONVERT_TEXT_TO_TABLE
266    [
267        ExecMethod = Execute ;
268        StateMethod = GetState ;
269        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
270    ]
271    FN_CONVERT_TEXT_TABLE // status(final|play)
272	[
273		ExecMethod = Execute ;
274		StateMethod = GetState ;
275		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
276	]
277    FN_FORMAT_BORDER_DLG // status(final|play)
278	[
279		ExecMethod = ExecDlg ;
280		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
281	]
282
283	SID_ATTR_BORDER_INNER // status()
284	[
285		StateMethod = GetBorderState ;
286		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
287	]
288
289    	SID_ATTR_BORDER_OUTER // status()
290	[
291		ExecMethod = Execute ;
292		StateMethod = GetBorderState ;
293		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
294	]
295
296    SID_BORDER_REDUCED_MODE
297    [
298        StateMethod = GetBorderState ;
299        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
300    ]
301
302	FN_FORMAT_BACKGROUND_DLG  // status(final|play)
303	[
304		ExecMethod = ExecDlg ;
305		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
306	]
307
308	SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN // status()
309	[
310		SfxUInt16Item WatercanStyleModeOnOff
311		(
312			SfxStringItem Param SID_STYLE_WATERCAN ,
313			SfxUInt16Item Family SID_STYLE_FAMILY
314		) ;
315		ExecMethod = Execute ;
316		StateMethod = StateStyle ;
317        	NoRecord;
318		GroupId = GID_TEMPLATE ;
319		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
320	]
321
322	SID_STYLE_UPDATE_BY_EXAMPLE // status()
323	[
324		ExecMethod = Execute ;
325		StateMethod = StateStyle ;
326	]
327
328	SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
329	[
330		ExecMethod = Execute ;
331		StateMethod = StateStyle ;
332		FastCall = TRUE; // fuer Macroausfuehrung!
333	]
334	SID_STYLE_APPLY // status(fina|play)
335	[
336		ExecMethod = Execute ;
337		StateMethod = StateStyle ;
338		FastCall = TRUE;// fuer Macroausfuehrung!
339		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
340	]
341
342	SID_STYLE_FAMILY1 // status(fina|play)
343	[
344		StateMethod = StateStyle ;
345	]
346
347	SID_STYLE_FAMILY2 // status(fina|play)
348	[
349		StateMethod = StateStyle ;
350	]
351
352	SID_STYLE_FAMILY3 // status(fina|play)
353	[
354		StateMethod = StateStyle ;
355	]
356
357	SID_STYLE_FAMILY4 // status(fina|play)
358	[
359		StateMethod = StateStyle ;
360	]
361
362	SID_STYLE_FAMILY5 // status(fina|play)
363	[
364		StateMethod = StateStyle ;
365	]
366
367	 //OS: Selection.Escape gibt es zusaetzlich zu Window.Escape
368
369	FN_ESCAPE // status(final|play|rec)
370	[
371		ExecMethod = Execute ;
372	]
373
374	SID_IMAP
375	[
376		ExecMethod = Execute ;
377		StateMethod = GetState ;
378		Toggle = FALSE;
379	]
380
381	SID_IMAP_EXEC
382	[
383		ExecMethod = Execute ;
384		StateMethod = GetState ;
385		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
386	]
387// Methode fuer Rahmen und Objekte
388	FN_TOOL_ANKER
389	[
390		ExecMethod = Execute ;
391		StateMethod = GetState ;
392		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
393	]
394
395	FN_TOOL_ANKER_PARAGRAPH
396	[
397		ExecMethod = Execute ;
398		StateMethod = GetState ;
399		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
400	]
401
402	FN_TOOL_ANKER_CHAR
403	[
404		ExecMethod = Execute ;
405		StateMethod = GetState ;
406		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
407	]
408
409	FN_TOOL_ANKER_AT_CHAR
410	[
411		ExecMethod = Execute ;
412		StateMethod = GetState ;
413		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
414	]
415
416	FN_TOOL_ANKER_FRAME
417	[
418		ExecMethod = Execute ;
419		StateMethod = GetState ;
420		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
421	]
422
423	FN_UPDATE_ALL_LINKS // status()
424	[
425		ExecMethod = Execute ;
426		StateMethod = GetState ;
427	]
428
429/*-----------------22.01.97 09.41-------------------
430// ab hier immer Export = FALSE
431--------------------------------------------------*/
432
433	FN_FRAME_WRAP   // status()
434	[
435		ExecMethod = Execute ;
436		StateMethod = GetState ;
437		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
438		Export = FALSE;
439	]
440
441	FN_FRAME_WRAP_IDEAL // status()
442	[
443		ExecMethod = Execute ;
444		StateMethod = GetState ;
445		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
446		Export = FALSE;
447	]
448
449	FN_FRAME_NOWRAP   // status()
450	[
451		ExecMethod = Execute ;
452		StateMethod = GetState ;
453		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
454		Export = FALSE;
455	]
456
457	FN_FRAME_WRAPTHRU   // status()
458	[
459		ExecMethod = Execute ;
460		StateMethod = GetState ;
461		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
462		Export = FALSE;
463	]
464
465	FN_FRAME_WRAPTHRU_TRANSP // status()
466	[
467		ExecMethod = Execute ;
468		StateMethod = GetState ;
469		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
470		Export = FALSE;
471	]
472
473	FN_FRAME_WRAP_CONTOUR // status()
474	[
475		ExecMethod = Execute ;
476		StateMethod = GetState ;
477		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
478		Export = FALSE;
479	]
480
481	FN_WRAP_ANCHOR_ONLY // status()
482	[
483		ExecMethod = Execute ;
484		StateMethod = GetState ;
485		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
486		Export = FALSE;
487	]
488
489	FN_FRAME_WRAP_LEFT // status()
490	[
491		ExecMethod = Execute ;
492		StateMethod = GetState ;
493		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
494		Export = FALSE;
495	]
496
497	FN_FRAME_WRAP_RIGHT // status()
498	[
499		ExecMethod = Execute ;
500		StateMethod = GetState ;
501		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
502		Export = FALSE;
503	]
504
505
506
507	SID_GALLERY_BG_BRUSH
508	[
509		ExecMethod = ExecuteGallery;
510		StateMethod = GetGalleryState;
511		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
512		Export = FALSE;
513	]
514	SID_ATTR_BORDER_SHADOW // status(final|play)
515	[
516		ExecMethod = Execute ;
517		StateMethod = GetState ;
518		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
519	]
520
521	FN_XFORMS_DESIGN_MODE
522	[
523		ExecMethod = Execute;
524		StateMethod = GetState;
525	]
526}
527
528