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 .
20 interface BaseTextEditView
25 FN_REFRESH_VIEW // status(final|play)
27 ExecMethod = Execute ;
29 FN_PAGEUP // status(final|play)
31 ExecMethod = Execute ;
32 StateMethod = GetState ;
34 FN_PAGEUP_SEL // status()
36 ExecMethod = Execute ;
37 StateMethod = GetState ;
39 SID_UNDO // status(final|play)
41 ExecMethod = Execute ;
42 StateMethod = GetState ;
44 SID_FORMATPAINTBRUSH //
46 ExecMethod = ExecFormatPaintbrush ;
47 StateMethod = StateFormatPaintbrush ;
48 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
50 SID_CLEARHISTORY // status(final|play)
52 ExecMethod = Execute ;
53 StateMethod = GetState ;
55 SID_CREATE_SW_DRAWVIEW
59 FN_PAGEDOWN // status(final|play)
61 ExecMethod = Execute ;
62 StateMethod = GetState ;
64 FN_PAGEDOWN_SEL // status()
66 ExecMethod = Execute ;
67 StateMethod = GetState ;
69 FN_NAVIGATION_PI_GOTO_PAGE // status(final|play)
71 ExecMethod = Execute ;
72 StateMethod = NoState ;
77 StateMethod = NoState ;
83 FN_SET_PAGE_STYLE // status(final|play)
85 ExecMethod = ExecColl ;
89 ExecMethod = ExecDraw ;
90 StateMethod = GetDrawState ;
94 ExecMethod = ExecViewOptions ;
95 StateMethod = StateViewOptions ;
99 ExecMethod = ExecViewOptions ;
100 StateMethod = StateViewOptions ;
104 ExecMethod = Execute;
105 StateMethod = GetState ;
106 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
108 FN_REDLINE_ON // status()
110 ExecMethod = Execute;
111 StateMethod = GetState ;
112 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
114 FN_REDLINE_SHOW // status()
116 ExecMethod = Execute;
117 StateMethod = GetState ;
118 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
120 FN_REDLINE_ACCEPT // status(play)
122 ExecMethod = Execute ;
123 StateMethod = GetState ;
124 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
126 FN_REDLINE_ACCEPT_DIRECT
128 ExecMethod = Execute ;
129 StateMethod = GetState ;
130 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
132 FN_REDLINE_REJECT_DIRECT
134 ExecMethod = Execute ;
135 StateMethod = GetState ;
136 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
138 FN_REDLINE_NEXT_CHANGE
140 ExecMethod = Execute ;
141 StateMethod = GetState ;
142 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
144 FN_REDLINE_PREV_CHANGE
146 ExecMethod = Execute ;
147 StateMethod = GetState ;
148 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
151 SID_DOCUMENT_COMPARE // status(play)
153 ExecMethod = Execute ;
154 StateMethod = GetState ;
155 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
157 SID_DOCUMENT_MERGE // status(play)
159 ExecMethod = Execute ;
160 StateMethod = GetState ;
161 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
163 FN_ESCAPE // status(final|play|rec)
165 ExecMethod = Execute ;
167 FN_FAX // status(final|play)
169 ExecMethod = ExecutePrint ;
171 SID_PRINTDOC // status(final|play)
173 ExecMethod = ExecutePrint ;
174 StateMethod = GetState ;
176 SID_PRINTDOCDIRECT // status(final|play)
178 ExecMethod = ExecutePrint ;
179 StateMethod = GetState ;
183 ExecMethod = ExecTabWin ;
184 StateMethod = StateTabWin ;
186 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
190 ExecMethod = ExecTabWin ;
191 StateMethod = StateTabWin ;
192 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
194 SID_ATTR_LONG_LRSPACE // status()
196 ExecMethod = ExecTabWin ;
197 StateMethod = StateTabWin ;
198 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
200 SID_ATTR_LONG_ULSPACE // status()
202 ExecMethod = ExecTabWin ;
203 StateMethod = StateTabWin ;
204 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
206 SID_ATTR_PARA_LRSPACE // status()
208 ExecMethod = ExecTabWin ;
209 StateMethod = StateTabWin ;
210 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
212 SID_ATTR_PARA_LRSPACE_VERTICAL // status()
214 ExecMethod = ExecTabWin ;
215 StateMethod = StateTabWin ;
216 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
218 SID_RULER_BORDERS // status()
220 ExecMethod = ExecTabWin ;
221 StateMethod = StateTabWin ;
222 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
224 SID_RULER_BORDERS_VERTICAL // status()
226 ExecMethod = ExecTabWin ;
227 StateMethod = StateTabWin ;
228 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
230 SID_RULER_BORDER_DISTANCE // status()
232 StateMethod = StateTabWin ;
233 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
235 SID_RULER_PAGE_POS // status()
237 ExecMethod = NoExec ;
238 StateMethod = StateTabWin ;
239 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
241 SID_RULER_TEXT_RIGHT_TO_LEFT
243 StateMethod = StateTabWin ;
244 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
246 SID_RULER_LR_MIN_MAX // status()
248 StateMethod = StateTabWin ;
249 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
251 SID_RULER_PROTECT // status()
253 StateMethod = StateTabWin ;
254 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
256 SID_RULER_ROWS // status()
258 ExecMethod = ExecTabWin ;
259 StateMethod = StateTabWin ;
260 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
262 SID_RULER_ROWS_VERTICAL // status()
264 ExecMethod = ExecTabWin ;
265 StateMethod = StateTabWin ;
266 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
268 FN_EDIT_LINK_DLG // status(final|play)
270 ExecMethod = Execute ;
271 StateMethod = GetState ;
272 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
274 FN_SPELL_GRAMMAR_DIALOG
276 ExecMethod = Execute ;
277 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
281 ExecMethod = Execute ;
282 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
284 FN_LINE_NUMBERING_DLG // status()
286 ExecMethod = Execute;
288 FN_UPDATE_TOX // status()
290 ExecMethod = Execute ;
291 StateMethod = GetState ;
292 MenuConfig , AccelConfig , ToolBoxConfig ;
295 FN_UPDATE_CUR_TOX // status()
297 ExecMethod = Execute ;
298 StateMethod = GetState ;
300 FN_EDIT_CURRENT_TOX // status()
302 ExecMethod = Execute ;
303 StateMethod = GetState ;
307 ExecMethod = Execute ;
308 StateMethod = GetState ;
312 ExecMethod = Execute ;
313 StateMethod = GetState ;
314 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
316 //---------------------------------------------------------------------
317 //From here the statusbar
318 FN_STAT_PAGE // status()
320 ExecMethod = ExecuteStatusLine ;
321 StateMethod = StateStatusLine ;
323 FN_STAT_WORDCOUNT // status()
325 ExecMethod = ExecuteStatusLine ;
326 StateMethod = StateStatusLine ;
328 FN_STAT_BOOKMARK // status()
330 ExecMethod = ExecuteStatusLine ;
332 FN_STAT_TEMPLATE // status(final|play)
334 ExecMethod = ExecuteStatusLine ;
335 StateMethod = StateStatusLine ;
337 FN_STAT_SELMODE // status(final|play)
339 //Current Selectionmode: 0 == Normal, 2 == Add, 1 == Enhance
340 ExecMethod = ExecuteStatusLine ;
341 StateMethod = StateStatusLine ;
343 FN_SET_ADD_MODE // status()
345 ExecMethod = ExecuteStatusLine ;
346 StateMethod = NoState ;
348 FN_SET_EXT_MODE // status()
350 ExecMethod = ExecuteStatusLine ;
351 StateMethod = NoState ;
353 SID_ATTR_ZOOM // status(final|play)
355 ExecMethod = ExecuteStatusLine ;
356 StateMethod = StateStatusLine ;
358 SID_ATTR_VIEWLAYOUT // status()
360 ExecMethod = ExecuteStatusLine ;
361 StateMethod = StateStatusLine ;
363 SID_ATTR_ZOOMSLIDER // status()
365 ExecMethod = ExecuteStatusLine ;
366 StateMethod = StateStatusLine ;
368 SID_ATTR_INSERT // status(final|play|rec)
370 ExecMethod = ExecuteStatusLine ;
371 StateMethod = StateStatusLine ;
373 SID_ATTR_SIZE // status()
375 ExecMethod = ExecuteStatusLine ;
376 StateMethod = StateStatusLine ;
378 SID_ATTR_POSITION // status()
380 StateMethod = StateStatusLine ;
382 SID_TABLE_CELL // status()
384 StateMethod = StateStatusLine ;
386 //----------------------------------------------
387 //End of the statusbar
388 //----------------------------------------------
389 SID_ATTR_BORDER_SHADOW // status()
391 ExecMethod = Execute ;
392 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
394 /****************************************************/
396 /* Properties Page Format */
398 /****************************************************/
399 SID_ATTR_PAGE // status()
401 ExecMethod = Execute ;
402 StateMethod = GetState ;
404 SID_ATTR_PAGE_SIZE // status(final|play)
406 ExecMethod = Execute ;
407 StateMethod = GetState ;
409 SID_ATTR_PAGE_MAXSIZE // status()
412 ExecMethod = Execute ;
414 SID_ATTR_PAGE_PAPERBIN // status(final|play)
416 ExecMethod = Execute ;
417 StateMethod = GetState ;
420 SID_ATTR_PARA_ULSPACE
422 ExecMethod = ExecTabWin ;
423 StateMethod = StateTabWin ;
428 ExecMethod = ExecTabWin ;
429 StateMethod = StateTabWin ;
431 SID_ATTR_PAGE_ULSPACE
433 ExecMethod = ExecTabWin ;
434 StateMethod = StateTabWin ;
435 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
437 SID_ATTR_PAGE_LRSPACE
439 ExecMethod = ExecTabWin ;
440 StateMethod = StateTabWin ;
441 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
444 SID_THESAURUS // status(final|play)
446 ExecMethod = ExecLingu ;
447 StateMethod = GetState ;
448 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
450 SID_HANGUL_HANJA_CONVERSION // status(final|play)
452 ExecMethod = ExecLingu ;
453 StateMethod = GetState ;
454 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
456 SID_CHINESE_CONVERSION
458 ExecMethod = ExecLingu ;
459 StateMethod = GetState ;
460 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
467 SID_SEARCH_ITEM // status()
469 ExecMethod = ExecSearch ;
470 StateMethod = StateSearch ;
473 FN_REPEAT_SEARCH // status(final|play)
475 ExecMethod = ExecSearch ;
477 FID_SEARCH_NOW // status()
479 ExecMethod = ExecSearch ;
481 SID_SEARCH_OPTIONS // status()
483 StateMethod = StateSearch ;
485 FID_SEARCH_SEARCHSET // status()
487 ExecMethod = ExecSearch ;
489 FID_SEARCH_REPLACESET // status()
491 ExecMethod = ExecSearch ;
492 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
494 SID_ATTR_TABSTOP // status()
496 ExecMethod = ExecTabWin ;
497 StateMethod = StateTabWin ;
498 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
500 SID_ATTR_TABSTOP_VERTICAL // status()
502 ExecMethod = ExecTabWin ;
503 StateMethod = StateTabWin ;
504 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
506 // from here Export = FALSE;
507 FID_SEARCH_ON // status()
509 ExecMethod = ExecSearch ;
512 FID_SEARCH_OFF // status()
514 ExecMethod = ExecSearch ;
519 ExecMethod = Execute ;
520 StateMethod = GetState ;
526 ExecMethod = Execute ;
527 StateMethod = GetState ;
529 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
533 ExecMethod = Execute ;
534 StateMethod = GetState ;
536 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
538 SID_ATTR_CHAR_CJK_LANGUAGE
540 ExecMethod = Execute ;
541 StateMethod = GetState ;
543 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
545 SID_ATTR_CHAR_CTL_LANGUAGE
547 ExecMethod = Execute ;
548 StateMethod = GetState ;
550 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
556 ExecMethod = Execute ;
557 StateMethod = NoState ;
558 FastCall , Cachable ;
561 FN_SYNC_LABELS // status(play)
563 ExecMethod = Execute ;
565 FN_MAILMERGE_CHILDWINDOW
567 ExecMethod = Execute ;
568 StateMethod = GetState;
571 FN_MAILMERGE_SENDMAIL_CHILDWINDOW
573 ExecMethod = Execute ;
574 StateMethod = GetState;
577 SID_ATTR_BRUSH // status()
579 ExecMethod = Execute ;
580 StateMethod = GetState ;
581 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
585 ExecMethod = Execute ;
586 StateMethod = GetState ;
590 ExecMethod = Execute ;
591 StateMethod = GetState ;
593 SID_VIEW_DATA_SOURCE_BROWSER // status()
595 ExecMethod = Execute ;
596 StateMethod = GetState;
598 SID_READONLY_MODE // ole : no, status : no
600 StateMethod = GetState ;
602 SID_IMAGE_ORIENTATION
604 StateMethod = GetState ;
606 FN_INSERT_FIELD_DATA_ONLY // status(final|play)
608 ExecMethod = Execute ;
609 StateMethod = GetState ;
611 FN_QRY_MERGE // status()
613 ExecMethod = Execute ;
614 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
618 ExecMethod = Execute ;
619 StateMethod = GetState ;
621 SID_ALIGN_ANY_HCENTER
623 ExecMethod = Execute ;
624 StateMethod = GetState ;
628 ExecMethod = Execute ;
629 StateMethod = GetState ;
631 SID_ALIGN_ANY_JUSTIFIED
633 ExecMethod = Execute ;
634 StateMethod = GetState ;
638 ExecMethod = Execute ;
639 StateMethod = GetState ;
641 SID_ALIGN_ANY_VCENTER
643 ExecMethod = Execute ;
644 StateMethod = GetState ;
648 ExecMethod = Execute ;
649 StateMethod = GetState ;
651 SID_RESTORE_EDITING_VIEW
653 ExecMethod = Execute ;
654 StateMethod = GetState ;
656 SID_INSERT_GRAPHIC // status(final|play)
658 ExecMethod = Execute ;
659 StateMethod = NoState ;
660 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
664 ExecMethod = ExecViewOptions ;
665 StateMethod = StateViewOptions ;
669 //Will be summerized to Property ViewSettings
672 ExecMethod = ExecViewOptions ;
673 StateMethod = StateViewOptions ;
679 ExecMethod = ExecViewOptions ;
680 StateMethod = StateViewOptions ;
683 // Everything from here can be removed (Export = FALSE;), if the previous works
686 ExecMethod = ExecViewOptions ;
687 StateMethod = StateViewOptions ;
690 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
693 FN_VIEW_BOUNDS // status()
695 ExecMethod = ExecViewOptions ;
696 StateMethod = StateViewOptions ;
701 FN_VIEW_GRAPHIC // status()
703 ExecMethod = ExecViewOptions ;
704 StateMethod = StateViewOptions ;
707 FN_VIEW_FIELDS // status()
709 ExecMethod = ExecViewOptions ;
710 StateMethod = StateViewOptions ;
714 FN_VIEW_FIELDNAME // status()
716 ExecMethod = ExecViewOptions ;
717 StateMethod = StateViewOptions ;
722 FN_VIEW_MARKS // status()
724 ExecMethod = ExecViewOptions ;
725 StateMethod = StateViewOptions ;
730 FN_VIEW_META_CHARS // status()
732 ExecMethod = ExecViewOptions ;
733 StateMethod = StateViewOptions ;
738 FN_VIEW_TABLEGRID // status()
740 ExecMethod = ExecViewOptions ;
741 StateMethod = StateViewOptions ;
746 ExecMethod = ExecViewOptions;
747 StateMethod = StateViewOptions ;
751 ExecMethod = ExecViewOptions;
752 StateMethod = StateViewOptions ;
756 ExecMethod = ExecViewOptions;
757 StateMethod = StateViewOptions ;
760 FN_VLINEAL // status()
762 ExecMethod = ExecViewOptions ;
763 StateMethod = StateViewOptions ;
765 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
768 FN_HSCROLLBAR // status()
770 ExecMethod = ExecViewOptions ;
771 StateMethod = StateViewOptions ;
775 FN_VSCROLLBAR // status()
777 ExecMethod = ExecViewOptions ;
778 StateMethod = StateViewOptions ;
782 FN_SHADOWCURSOR // status(final|play)
784 ExecMethod = ExecViewOptions ;
785 StateMethod = StateViewOptions ;
786 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
790 interface GlobalContents
791 [ uuid = "1FD80520-F517-11d0-AC9B-008029E867C6"; ]
793 UINT16 Type FN_COLL_TYPE
795 UINT16 Position FN_COLL_TYPE
800 // Areaname, Index-Titel or Empty String
801 String Title FN_COLL_TITLE
803 UINT16 Position FN_COLL_TITLE
807 // Without a FileName an area of the text is inserted at this location.
808 BOOL InsertDocument FN_COLL_ADD
810 UINT16 Position FN_COLL_ADD,
811 UINT16 FileName FN_PARAM_1