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
23 ExecMethod = Execute ;
24 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
27 SID_DELETE // status(final|play)
29 ExecMethod = ExecDelete ;
30 StateMethod = GetState ;
34 FN_BACKSPACE // status(final|play)
36 ExecMethod = ExecDelete ;
37 StateMethod = GetState ;
41 FN_SHIFT_BACKSPACE // status()
43 ExecMethod = ExecDelete ;
44 StateMethod = NoState ;
45 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
48 SID_UNDO // status(final|play)
50 ExecMethod = ExecUndo ;
51 StateMethod = StateUndo ;
54 SID_GETUNDOSTRINGS // status(final|play)
56 StateMethod = StateUndo ;
59 SID_REDO // status(final|play)
61 ExecMethod = ExecUndo ;
62 StateMethod = StateUndo ;
65 SID_GETREDOSTRINGS // status(final|play)
67 StateMethod = StateUndo ;
70 SID_REPEAT // status()
72 ExecMethod = ExecUndo ;
73 StateMethod = StateUndo ;
74 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
77 SID_CUT // status(final|play)
79 ExecMethod = ExecClpbrd ;
80 StateMethod = StateClpbrd ;
81 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
84 SID_COPY // status(final|play)
86 ExecMethod = ExecClpbrd ;
87 StateMethod = StateClpbrd ;
90 SID_PASTE // status(final|play)
92 ExecMethod = ExecClpbrd ;
93 StateMethod = StateClpbrd ;
94 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
97 SID_CLIPBOARD_FORMAT_ITEMS // status(final|play)
99 StateMethod = StateClpbrd ;
100 ExecMethod = ExecClpbrd ;
101 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
104 SID_PASTE_UNFORMATTED // status(final|play)
106 ExecMethod = ExecClpbrd ;
107 StateMethod = StateClpbrd ;
108 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
111 SID_PASTE_SPECIAL // status(final|play)
113 ExecMethod = ExecClpbrd ;
114 StateMethod = StateClpbrd ;
115 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
118 FN_PASTE_NESTED_TABLE // status(final|play)
120 ExecMethod = ExecClpbrd ;
121 StateMethod = StateClpbrd ;
122 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
125 FN_TABLE_PASTE_ROW_BEFORE // status(final|play)
127 ExecMethod = ExecClpbrd ;
128 StateMethod = StateClpbrd ;
129 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
132 FN_TABLE_PASTE_COL_BEFORE // status(final|play)
134 ExecMethod = ExecClpbrd ;
135 StateMethod = StateClpbrd ;
136 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
139 FN_REPAGINATE // status(final|play)
141 ExecMethod = Execute ;
142 StateMethod = NoState ;
147 ExecMethod = ExecField ;
148 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
151 FN_UPDATE_FIELDS // status(final|play)
153 ExecMethod = Execute ;
154 StateMethod = NoState ;
157 FN_UPDATE_FIELD // status(final|play)
159 ExecMethod = Execute ;
162 FN_UPDATE_CHARTS // status(final|play)
164 ExecMethod = Execute ;
165 StateMethod = GetState ;
167 FN_UPDATE_ALL // status(final|play)
169 ExecMethod = Execute ;
170 StateMethod = NoState ;
173 FN_UPDATE_INPUTFIELDS // status(final|play)
175 ExecMethod = Execute ;
176 StateMethod = NoState ;
179 FN_FRAME_TO_ANCHOR // status()
181 /*OS: data types incompatible?? */
182 ExecMethod = Execute ;
183 StateMethod = NoState ;
186 FN_GOTO_NEXT_OBJ // status(final|play)
188 ExecMethod = Execute ;
189 StateMethod = NoState ;
192 FN_GOTO_PREV_OBJ // status(final|play)
194 ExecMethod = Execute ;
195 StateMethod = NoState ;
198 FN_GOTO_NEXT_MARK // status(final|play)
200 ExecMethod = Execute ;
201 StateMethod = NoState ;
204 FN_GOTO_PREV_MARK // status(final|play)
206 ExecMethod = Execute ;
207 StateMethod = NoState ;
210 FN_PREV_BOOKMARK // status(final|play)
212 ExecMethod = Execute ;
213 StateMethod = NoState ;
216 FN_NEXT_BOOKMARK // status(final|play)
218 ExecMethod = Execute ;
219 StateMethod = NoState ;
222 SID_GALLERY_FORMATS // status()
224 ExecMethod = Execute ;
227 SID_GALLERY_ENABLE_ADDCOPY
229 StateMethod = GetState;
230 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
233 SID_TABLE_CELL_BACKGROUND_COLOR
235 ExecMethod = ExecBckCol ;
236 StateMethod = GetBckColState ;
238 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
241 SID_BACKGROUND_COLOR // status()
243 ExecMethod = ExecBckCol ;
244 StateMethod = GetBckColState ;
246 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
249 FN_EDIT_REGION // status(final|play)
251 ExecMethod = EditRegionDialog ;
252 StateMethod = GetState ;
255 FN_EDIT_CURRENT_REGION // status(final|play)
257 ExecMethod = EditRegionDialog ;
258 StateMethod = GetState ;
261 FN_INSERT_REGION // status()
263 ExecMethod = InsertRegionDialog;
264 StateMethod = GetState;
265 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
268 FN_FORMAT_PAGE_DLG // status(final|play)
270 ExecMethod = ExecDlg ;
271 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
274 FN_FORMAT_TITLEPAGE_DLG // status(final|play)
276 ExecMethod = ExecDlg ;
277 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
280 FN_FORMAT_PAGE_COLUMN_DLG // status(final|play)
282 ExecMethod = ExecDlg ;
283 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
286 FN_FORMAT_PAGE_SETTING_DLG
288 ExecMethod = ExecDlg ;
289 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
292 FN_FORMAT_PAGE_AREA_DLG
294 ExecMethod = ExecDlg ;
295 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
298 FN_CONVERT_TABLE_TO_TEXT
300 ExecMethod = Execute ;
301 StateMethod = GetState ;
302 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
305 FN_CONVERT_TEXT_TO_TABLE
307 ExecMethod = Execute ;
308 StateMethod = GetState ;
309 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
311 FN_CONVERT_TEXT_TABLE // status(final|play)
313 ExecMethod = Execute ;
314 StateMethod = GetState ;
315 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
318 FN_FORMAT_BORDER_DLG // status(final|play)
320 ExecMethod = ExecDlg ;
321 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
324 SID_ATTR_BORDER_INNER // status()
326 StateMethod = GetBorderState ;
327 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
330 SID_ATTR_BORDER_OUTER // status()
332 ExecMethod = Execute ;
333 StateMethod = GetBorderState ;
334 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
337 SID_BORDER_REDUCED_MODE
339 StateMethod = GetBorderState ;
340 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
343 FN_FORMAT_BACKGROUND_DLG // status(final|play)
345 ExecMethod = ExecDlg ;
346 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
349 SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN // status()
351 SfxStringItem Param SID_STYLE_WATERCAN ,
352 SfxUInt16Item Family SID_STYLE_FAMILY
355 ExecMethod = Execute ;
356 StateMethod = StateStyle ;
358 GroupId = SfxGroupId::Template ;
359 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
362 SID_STYLE_UPDATE_BY_EXAMPLE // status()
364 ExecMethod = Execute ;
365 StateMethod = StateStyle ;
368 SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
370 ExecMethod = Execute ;
371 StateMethod = StateStyle ;
372 FastCall = TRUE; // for macro execution!
374 SID_STYLE_APPLY // status(fina|play)
376 ExecMethod = Execute ;
377 StateMethod = StateStyle ;
378 FastCall = TRUE;// for macro execution!
379 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
382 SID_STYLE_FAMILY1 // status(fina|play)
384 StateMethod = StateStyle ;
387 SID_STYLE_FAMILY2 // status(fina|play)
389 StateMethod = StateStyle ;
392 SID_STYLE_FAMILY3 // status(fina|play)
394 StateMethod = StateStyle ;
397 SID_STYLE_FAMILY4 // status(fina|play)
399 StateMethod = StateStyle ;
402 SID_STYLE_FAMILY5 // status(fina|play)
404 StateMethod = StateStyle ;
407 SID_STYLE_FAMILY6 // status(fina|play)
409 StateMethod = StateStyle ;
412 SID_CLASSIFICATION_APPLY
414 ExecMethod = Execute ;
415 StateMethod = StateStyle ;
418 SID_CLASSIFICATION_DIALOG
420 ExecMethod = Execute ;
421 StateMethod = StateStyle ;
424 SID_PARAGRAPH_SIGN_CLASSIFY_DLG
426 ExecMethod = Execute ;
427 StateMethod = StateStyle ;
432 ExecMethod = Execute ;
433 StateMethod = StateStyle ;
436 //OS: Selection.Escape exists additionally to Window.Escape
438 FN_ESCAPE // status(final|play|rec)
440 ExecMethod = Execute ;
445 ExecMethod = Execute ;
446 StateMethod = GetState ;
452 ExecMethod = Execute ;
453 StateMethod = GetState ;
454 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
456 // Method for frames and objects
459 StateMethod = GetState ;
460 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
463 FN_TOOL_ANCHOR_PARAGRAPH
465 ExecMethod = Execute ;
466 StateMethod = GetState ;
467 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
472 ExecMethod = Execute ;
473 StateMethod = GetState ;
474 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
477 FN_TOOL_ANCHOR_AT_CHAR
479 ExecMethod = Execute ;
480 StateMethod = GetState ;
481 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
486 ExecMethod = Execute ;
487 StateMethod = GetState ;
488 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
491 FN_SET_TRACKED_CHANGES_IN_TEXT
493 ExecMethod = Execute ;
494 StateMethod = GetState ;
495 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
498 FN_SET_TRACKED_DELETIONS_IN_MARGIN
500 ExecMethod = Execute ;
501 StateMethod = GetState ;
502 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
505 FN_SET_TRACKED_INSERTIONS_IN_MARGIN
507 ExecMethod = Execute ;
508 StateMethod = GetState ;
509 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
512 FN_SHOW_TRACKED_CHANGES_MENU
514 ExecMethod = Execute ;
515 StateMethod = GetState ;
516 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
519 FN_UPDATE_ALL_LINKS // status()
521 ExecMethod = Execute ;
522 StateMethod = GetState ;
525 FN_FRAME_WRAP // status()
527 ExecMethod = Execute ;
528 StateMethod = GetState ;
529 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
532 FN_FRAME_WRAP_IDEAL // status()
534 ExecMethod = Execute ;
535 StateMethod = GetState ;
536 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
539 FN_FRAME_NOWRAP // status()
541 ExecMethod = Execute ;
542 StateMethod = GetState ;
543 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
546 FN_FRAME_WRAPTHRU // status()
548 ExecMethod = Execute ;
549 StateMethod = GetState ;
550 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
553 FN_FRAME_WRAPTHRU_TRANSP // status()
555 ExecMethod = Execute ;
556 StateMethod = GetState ;
557 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
560 FN_FRAME_WRAPTHRU_TOGGLE // status()
562 ExecMethod = Execute ;
563 StateMethod = GetState ;
564 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
567 FN_FRAME_WRAP_CONTOUR // status()
569 ExecMethod = Execute ;
570 StateMethod = GetState ;
571 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
574 FN_WRAP_ANCHOR_ONLY // status()
576 ExecMethod = Execute ;
577 StateMethod = GetState ;
578 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
581 FN_FRAME_WRAP_LEFT // status()
583 ExecMethod = Execute ;
584 StateMethod = GetState ;
585 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
588 FN_FRAME_WRAP_RIGHT // status()
590 ExecMethod = Execute ;
591 StateMethod = GetState ;
592 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
597 ExecMethod = ExecuteGallery;
598 StateMethod = GetGalleryState;
599 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
601 SID_ATTR_BORDER_SHADOW // status(final|play)
603 ExecMethod = Execute ;
604 StateMethod = GetState ;
605 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
608 FN_XFORMS_DESIGN_MODE
610 ExecMethod = Execute;
611 StateMethod = GetState;
614 SID_GRAPHIC_SIZE_CHECK
616 ExecMethod = ExecDlg;
617 StateMethod = GetState;
618 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
623 ExecMethod = ExecDlg;
624 StateMethod = GetState;
625 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";