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_CONVERT_TABLE_TO_TEXT
255 ExecMethod = Execute ;
256 StateMethod = GetState ;
257 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
260 FN_CONVERT_TEXT_TO_TABLE
262 ExecMethod = Execute ;
263 StateMethod = GetState ;
264 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
266 FN_CONVERT_TEXT_TABLE // status(final|play)
268 ExecMethod = Execute ;
269 StateMethod = GetState ;
270 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
272 FN_FORMAT_BORDER_DLG // status(final|play)
274 ExecMethod = ExecDlg ;
275 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
278 SID_ATTR_BORDER_INNER // status()
280 StateMethod = GetBorderState ;
281 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
284 SID_ATTR_BORDER_OUTER // status()
286 ExecMethod = Execute ;
287 StateMethod = GetBorderState ;
288 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
291 SID_BORDER_REDUCED_MODE
293 StateMethod = GetBorderState ;
294 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
297 FN_FORMAT_BACKGROUND_DLG // status(final|play)
299 ExecMethod = ExecDlg ;
300 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
303 SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN // status()
305 SfxUInt16Item WatercanStyleModeOnOff
307 SfxStringItem Param SID_STYLE_WATERCAN ,
308 SfxUInt16Item Family SID_STYLE_FAMILY
310 ExecMethod = Execute ;
311 StateMethod = StateStyle ;
313 GroupId = GID_TEMPLATE ;
314 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
317 SID_STYLE_UPDATE_BY_EXAMPLE // status()
319 ExecMethod = Execute ;
320 StateMethod = StateStyle ;
323 SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
325 ExecMethod = Execute ;
326 StateMethod = StateStyle ;
327 FastCall = TRUE; // fuer Macroausfuehrung!
329 SID_STYLE_APPLY // status(fina|play)
331 ExecMethod = Execute ;
332 StateMethod = StateStyle ;
333 FastCall = TRUE;// fuer Macroausfuehrung!
334 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
337 SID_STYLE_FAMILY1 // status(fina|play)
339 StateMethod = StateStyle ;
342 SID_STYLE_FAMILY2 // status(fina|play)
344 StateMethod = StateStyle ;
347 SID_STYLE_FAMILY3 // status(fina|play)
349 StateMethod = StateStyle ;
352 SID_STYLE_FAMILY4 // status(fina|play)
354 StateMethod = StateStyle ;
357 SID_STYLE_FAMILY5 // status(fina|play)
359 StateMethod = StateStyle ;
362 //OS: Selection.Escape gibt es zusaetzlich zu Window.Escape
364 FN_ESCAPE // status(final|play|rec)
366 ExecMethod = Execute ;
371 ExecMethod = Execute ;
372 StateMethod = GetState ;
378 ExecMethod = Execute ;
379 StateMethod = GetState ;
380 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
382 // Methode fuer Rahmen und Objekte
385 ExecMethod = Execute ;
386 StateMethod = GetState ;
387 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
390 FN_TOOL_ANCHOR_PARAGRAPH
392 ExecMethod = Execute ;
393 StateMethod = GetState ;
394 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
399 ExecMethod = Execute ;
400 StateMethod = GetState ;
401 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
404 FN_TOOL_ANCHOR_AT_CHAR
406 ExecMethod = Execute ;
407 StateMethod = GetState ;
408 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
413 ExecMethod = Execute ;
414 StateMethod = GetState ;
415 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
418 FN_UPDATE_ALL_LINKS // status()
420 ExecMethod = Execute ;
421 StateMethod = GetState ;
424 // from here on Export = FALSE
426 FN_FRAME_WRAP // status()
428 ExecMethod = Execute ;
429 StateMethod = GetState ;
430 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
434 FN_FRAME_WRAP_IDEAL // status()
436 ExecMethod = Execute ;
437 StateMethod = GetState ;
438 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
442 FN_FRAME_NOWRAP // status()
444 ExecMethod = Execute ;
445 StateMethod = GetState ;
446 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
450 FN_FRAME_WRAPTHRU // status()
452 ExecMethod = Execute ;
453 StateMethod = GetState ;
454 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
458 FN_FRAME_WRAPTHRU_TRANSP // status()
460 ExecMethod = Execute ;
461 StateMethod = GetState ;
462 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
466 FN_FRAME_WRAP_CONTOUR // status()
468 ExecMethod = Execute ;
469 StateMethod = GetState ;
470 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
474 FN_WRAP_ANCHOR_ONLY // status()
476 ExecMethod = Execute ;
477 StateMethod = GetState ;
478 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
482 FN_FRAME_WRAP_LEFT // status()
484 ExecMethod = Execute ;
485 StateMethod = GetState ;
486 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
490 FN_FRAME_WRAP_RIGHT // status()
492 ExecMethod = Execute ;
493 StateMethod = GetState ;
494 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
502 ExecMethod = ExecuteGallery;
503 StateMethod = GetGalleryState;
504 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
507 SID_ATTR_BORDER_SHADOW // status(final|play)
509 ExecMethod = Execute ;
510 StateMethod = GetState ;
511 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
514 FN_XFORMS_DESIGN_MODE
516 ExecMethod = Execute;
517 StateMethod = GetState;