2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 interface BaseTextSelection
26 ExecMethod = Execute ;
27 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
30 SID_DELETE // status(final|play)
32 ExecMethod = ExecDelete ;
33 StateMethod = GetState ;
35 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
38 FN_BACKSPACE // status(final|play)
40 ExecMethod = ExecDelete ;
41 StateMethod = GetState ;
43 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
46 FN_SHIFT_BACKSPACE // status()
48 ExecMethod = ExecDelete ;
49 StateMethod = NoState ;
50 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
53 SID_UNDO // status(final|play)
55 ExecMethod = ExecUndo ;
56 StateMethod = StateUndo ;
59 SID_GETUNDOSTRINGS // status(final|play)
61 StateMethod = StateUndo ;
64 SID_REDO // status(final|play)
66 ExecMethod = ExecUndo ;
67 StateMethod = StateUndo ;
70 SID_GETREDOSTRINGS // status(final|play)
72 StateMethod = StateUndo ;
75 SID_REPEAT // status()
77 ExecMethod = ExecUndo ;
78 StateMethod = StateUndo ;
79 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
82 SID_CUT // status(final|play)
84 ExecMethod = ExecClpbrd ;
85 StateMethod = StateClpbrd ;
86 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
89 SID_COPY // status(final|play)
91 ExecMethod = ExecClpbrd ;
92 StateMethod = StateClpbrd ;
95 SID_PASTE // status(final|play)
97 ExecMethod = ExecClpbrd ;
98 StateMethod = StateClpbrd ;
99 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
102 SID_CLIPBOARD_FORMAT_ITEMS // status(final|play)
104 StateMethod = StateClpbrd ;
105 ExecMethod = ExecClpbrd ;
106 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
109 SID_PASTE_UNFORMATTED // status(final|play)
111 ExecMethod = ExecClpbrd ;
112 StateMethod = StateClpbrd ;
113 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
116 SID_PASTE_SPECIAL // status(final|play)
118 ExecMethod = ExecClpbrd ;
119 StateMethod = StateClpbrd ;
120 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
123 FN_REPAGINATE // status(final|play)
125 ExecMethod = Execute ;
126 StateMethod = NoState ;
131 ExecMethod = ExecField ;
132 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
135 FN_UPDATE_FIELDS // status(final|play)
137 ExecMethod = Execute ;
138 StateMethod = NoState ;
141 FN_UPDATE_CHARTS // status(final|play)
143 ExecMethod = Execute ;
144 StateMethod = GetState ;
146 FN_UPDATE_ALL // status(final|play)
148 ExecMethod = Execute ;
149 StateMethod = NoState ;
152 FN_UPDATE_INPUTFIELDS // status(final|play)
154 ExecMethod = Execute ;
155 StateMethod = NoState ;
158 FN_FRAME_TO_ANCHOR // status()
160 /*OS: Datentypen unvertraeglich ?? */
161 ExecMethod = Execute ;
162 StateMethod = NoState ;
165 FN_GOTO_NEXT_OBJ // status(final|play)
167 ExecMethod = Execute ;
168 StateMethod = NoState ;
171 FN_GOTO_PREV_OBJ // status(final|play)
173 ExecMethod = Execute ;
174 StateMethod = NoState ;
177 FN_GOTO_NEXT_MARK // status(final|play)
179 ExecMethod = Execute ;
180 StateMethod = NoState ;
183 FN_GOTO_PREV_MARK // status(final|play)
185 ExecMethod = Execute ;
186 StateMethod = NoState ;
189 FN_PREV_BOOKMARK // status(final|play)
191 ExecMethod = Execute ;
192 StateMethod = NoState ;
195 FN_NEXT_BOOKMARK // status(final|play)
197 ExecMethod = Execute ;
198 StateMethod = NoState ;
201 SID_GALLERY_FORMATS // status()
204 ExecMethod = Execute ;
207 SID_GALLERY_ENABLE_ADDCOPY
210 StateMethod = GetState;
211 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
214 SID_BACKGROUND_COLOR // status()
216 ExecMethod = ExecBckCol ;
217 StateMethod = GetBckColState ;
218 Cachable , AutoUpdate ;
219 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
222 FN_EDIT_REGION // status(final|play)
224 ExecMethod = EditRegionDialog ;
225 StateMethod = GetState ;
228 FN_INSERT_REGION // status()
230 ExecMethod = InsertRegionDialog;
231 StateMethod = GetState;
232 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
235 FN_FORMAT_PAGE_DLG // status(final|play)
237 ExecMethod = ExecDlg ;
238 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
241 FN_FORMAT_TITLEPAGE_DLG // status(final|play)
243 ExecMethod = ExecDlg ;
244 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
247 FN_FORMAT_PAGE_COLUMN_DLG // status(final|play)
249 ExecMethod = ExecDlg ;
250 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
253 FN_FORMAT_PAGE_SETTING_DLG
255 ExecMethod = ExecDlg ;
256 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
259 FN_CONVERT_TABLE_TO_TEXT
261 ExecMethod = Execute ;
262 StateMethod = GetState ;
263 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
266 FN_CONVERT_TEXT_TO_TABLE
268 ExecMethod = Execute ;
269 StateMethod = GetState ;
270 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
272 FN_CONVERT_TEXT_TABLE // status(final|play)
274 ExecMethod = Execute ;
275 StateMethod = GetState ;
276 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
278 FN_FORMAT_BORDER_DLG // status(final|play)
280 ExecMethod = ExecDlg ;
281 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
284 SID_ATTR_BORDER_INNER // status()
286 StateMethod = GetBorderState ;
287 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
290 SID_ATTR_BORDER_OUTER // status()
292 ExecMethod = Execute ;
293 StateMethod = GetBorderState ;
294 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
297 SID_BORDER_REDUCED_MODE
299 StateMethod = GetBorderState ;
300 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
303 FN_FORMAT_BACKGROUND_DLG // status(final|play)
305 ExecMethod = ExecDlg ;
306 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
309 SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN // status()
311 SfxUInt16Item WatercanStyleModeOnOff
313 SfxStringItem Param SID_STYLE_WATERCAN ,
314 SfxUInt16Item Family SID_STYLE_FAMILY
316 ExecMethod = Execute ;
317 StateMethod = StateStyle ;
319 GroupId = GID_TEMPLATE ;
320 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
323 SID_STYLE_UPDATE_BY_EXAMPLE // status()
325 ExecMethod = Execute ;
326 StateMethod = StateStyle ;
329 SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
331 ExecMethod = Execute ;
332 StateMethod = StateStyle ;
333 FastCall = TRUE; // fuer Macroausfuehrung!
335 SID_STYLE_APPLY // status(fina|play)
337 ExecMethod = Execute ;
338 StateMethod = StateStyle ;
339 FastCall = TRUE;// fuer Macroausfuehrung!
340 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
343 SID_STYLE_FAMILY1 // status(fina|play)
345 StateMethod = StateStyle ;
348 SID_STYLE_FAMILY2 // status(fina|play)
350 StateMethod = StateStyle ;
353 SID_STYLE_FAMILY3 // status(fina|play)
355 StateMethod = StateStyle ;
358 SID_STYLE_FAMILY4 // status(fina|play)
360 StateMethod = StateStyle ;
363 SID_STYLE_FAMILY5 // status(fina|play)
365 StateMethod = StateStyle ;
368 //OS: Selection.Escape gibt es zusaetzlich zu Window.Escape
370 FN_ESCAPE // status(final|play|rec)
372 ExecMethod = Execute ;
377 ExecMethod = Execute ;
378 StateMethod = GetState ;
384 ExecMethod = Execute ;
385 StateMethod = GetState ;
386 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
388 // Methode fuer Rahmen und Objekte
391 ExecMethod = Execute ;
392 StateMethod = GetState ;
393 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
396 FN_TOOL_ANCHOR_PARAGRAPH
398 ExecMethod = Execute ;
399 StateMethod = GetState ;
400 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
405 ExecMethod = Execute ;
406 StateMethod = GetState ;
407 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
410 FN_TOOL_ANCHOR_AT_CHAR
412 ExecMethod = Execute ;
413 StateMethod = GetState ;
414 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
419 ExecMethod = Execute ;
420 StateMethod = GetState ;
421 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
424 FN_UPDATE_ALL_LINKS // status()
426 ExecMethod = Execute ;
427 StateMethod = GetState ;
430 // from here on Export = FALSE
432 FN_FRAME_WRAP // status()
434 ExecMethod = Execute ;
435 StateMethod = GetState ;
436 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
440 FN_FRAME_WRAP_IDEAL // status()
442 ExecMethod = Execute ;
443 StateMethod = GetState ;
444 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
448 FN_FRAME_NOWRAP // status()
450 ExecMethod = Execute ;
451 StateMethod = GetState ;
452 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
456 FN_FRAME_WRAPTHRU // status()
458 ExecMethod = Execute ;
459 StateMethod = GetState ;
460 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
464 FN_FRAME_WRAPTHRU_TRANSP // status()
466 ExecMethod = Execute ;
467 StateMethod = GetState ;
468 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
472 FN_FRAME_WRAP_CONTOUR // status()
474 ExecMethod = Execute ;
475 StateMethod = GetState ;
476 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
480 FN_WRAP_ANCHOR_ONLY // status()
482 ExecMethod = Execute ;
483 StateMethod = GetState ;
484 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
488 FN_FRAME_WRAP_LEFT // status()
490 ExecMethod = Execute ;
491 StateMethod = GetState ;
492 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
496 FN_FRAME_WRAP_RIGHT // status()
498 ExecMethod = Execute ;
499 StateMethod = GetState ;
500 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
508 ExecMethod = ExecuteGallery;
509 StateMethod = GetGalleryState;
510 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
513 SID_ATTR_BORDER_SHADOW // status(final|play)
515 ExecMethod = Execute ;
516 StateMethod = GetState ;
517 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
520 FN_XFORMS_DESIGN_MODE
522 ExecMethod = Execute;
523 StateMethod = GetState;