1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
29 interface BaseTextEditView
34 FN_REFRESH_VIEW // status(final|play)
36 ExecMethod = Execute ;
38 FN_PAGEUP // status(final|play)
40 ExecMethod = Execute ;
41 StateMethod = GetState ;
43 FN_PAGEUP_SEL // status()
45 ExecMethod = Execute ;
46 StateMethod = GetState ;
48 SID_UNDO // status(final|play)
50 ExecMethod = Execute ;
51 StateMethod = GetState ;
53 SID_FORMATPAINTBRUSH //
55 ExecMethod = ExecFormatPaintbrush ;
56 StateMethod = StateFormatPaintbrush ;
57 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
59 SID_CLEARHISTORY // status(final|play)
61 ExecMethod = Execute ;
62 StateMethod = GetState ;
64 SID_CREATE_SW_DRAWVIEW
68 FN_PAGEDOWN // status(final|play)
70 ExecMethod = Execute ;
71 StateMethod = GetState ;
73 FN_PAGEDOWN_SEL // status()
75 ExecMethod = Execute ;
76 StateMethod = GetState ;
78 FN_NAVIGATION_PI_GOTO_PAGE // status(final|play)
80 ExecMethod = Execute ;
81 StateMethod = NoState ;
86 StateMethod = NoState ;
92 FN_SET_PAGE_STYLE // status(final|play)
94 ExecMethod = ExecColl ;
98 ExecMethod = ExecDraw ;
99 StateMethod = GetDrawState ;
103 ExecMethod = ExecViewOptions ;
104 StateMethod = StateViewOptions ;
108 ExecMethod = ExecViewOptions ;
109 StateMethod = StateViewOptions ;
113 ExecMethod = Execute;
114 StateMethod = GetState ;
115 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
117 FN_REDLINE_ON // status()
119 ExecMethod = Execute;
120 StateMethod = GetState ;
121 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
123 FN_REDLINE_SHOW // status()
125 ExecMethod = Execute;
126 StateMethod = GetState ;
127 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
129 FN_REDLINE_ACCEPT // status(play)
131 ExecMethod = Execute ;
132 StateMethod = GetState ;
133 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
135 FN_REDLINE_ACCEPT_DIRECT
137 ExecMethod = Execute ;
138 StateMethod = GetState ;
139 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
141 FN_REDLINE_REJECT_DIRECT
143 ExecMethod = Execute ;
144 StateMethod = GetState ;
145 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
148 SID_DOCUMENT_COMPARE // status(play)
150 ExecMethod = Execute ;
151 StateMethod = GetState ;
152 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
154 SID_DOCUMENT_MERGE // status(play)
156 ExecMethod = Execute ;
157 StateMethod = GetState ;
158 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
160 FN_ESCAPE // status(final|play|rec)
162 ExecMethod = Execute ;
164 FN_FAX // status(final|play)
166 ExecMethod = ExecutePrint ;
168 SID_PRINTDOC // status(final|play)
170 ExecMethod = ExecutePrint ;
171 StateMethod = GetState ;
173 SID_PRINTDOCDIRECT // status(final|play)
175 ExecMethod = ExecutePrint ;
176 StateMethod = GetState ;
180 ExecMethod = ExecTabWin ;
181 StateMethod = StateTabWin ;
183 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
187 ExecMethod = ExecTabWin ;
188 StateMethod = StateTabWin ;
189 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
191 SID_ATTR_LONG_LRSPACE // status()
193 ExecMethod = ExecTabWin ;
194 StateMethod = StateTabWin ;
195 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
197 SID_ATTR_LONG_ULSPACE // status()
199 ExecMethod = ExecTabWin ;
200 StateMethod = StateTabWin ;
201 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
203 SID_ATTR_PARA_LRSPACE // status()
205 ExecMethod = ExecTabWin ;
206 StateMethod = StateTabWin ;
207 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
209 SID_ATTR_PARA_LRSPACE_VERTICAL // status()
211 ExecMethod = ExecTabWin ;
212 StateMethod = StateTabWin ;
213 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
215 SID_RULER_BORDERS // status()
217 ExecMethod = ExecTabWin ;
218 StateMethod = StateTabWin ;
219 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
221 SID_RULER_BORDERS_VERTICAL // status()
223 ExecMethod = ExecTabWin ;
224 StateMethod = StateTabWin ;
225 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
227 SID_RULER_BORDER_DISTANCE // status()
229 StateMethod = StateTabWin ;
230 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
232 SID_RULER_PAGE_POS // status()
234 ExecMethod = NoExec ;
235 StateMethod = StateTabWin ;
236 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
238 SID_RULER_TEXT_RIGHT_TO_LEFT
240 StateMethod = StateTabWin ;
241 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
243 SID_RULER_LR_MIN_MAX // status()
245 StateMethod = StateTabWin ;
246 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
248 SID_RULER_PROTECT // status()
250 StateMethod = StateTabWin ;
251 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
253 SID_RULER_ROWS // status()
255 ExecMethod = ExecTabWin ;
256 StateMethod = StateTabWin ;
257 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
259 SID_RULER_ROWS_VERTICAL // status()
261 ExecMethod = ExecTabWin ;
262 StateMethod = StateTabWin ;
263 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
265 FN_EDIT_LINK_DLG // status(final|play)
267 ExecMethod = Execute ;
268 StateMethod = GetState ;
269 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
271 FN_SPELL_GRAMMAR_DIALOG
273 ExecMethod = Execute ;
274 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
278 ExecMethod = Execute ;
279 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
281 FN_LINE_NUMBERING_DLG // status()
283 ExecMethod = Execute;
285 FN_UPDATE_TOX // status()
287 ExecMethod = Execute ;
288 StateMethod = GetState ;
289 MenuConfig , AccelConfig , ToolBoxConfig ;
292 FN_UPDATE_CUR_TOX // status()
294 ExecMethod = Execute ;
295 StateMethod = GetState ;
297 FN_EDIT_CURRENT_TOX // status()
299 ExecMethod = Execute ;
300 StateMethod = GetState ;
304 ExecMethod = Execute ;
305 StateMethod = GetState ;
309 ExecMethod = Execute ;
310 StateMethod = GetState ;
311 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
313 //---------------------------------------------------------------------
314 //Ab hier Statusleiste
315 FN_STAT_PAGE // status()
317 ExecMethod = ExecuteStatusLine ;
318 StateMethod = StateStatusLine ;
320 FN_STAT_BOOKMARK // status()
322 ExecMethod = ExecuteStatusLine ;
324 FN_STAT_TEMPLATE // status(final|play)
326 ExecMethod = ExecuteStatusLine ;
327 StateMethod = StateStatusLine ;
329 FN_STAT_SELMODE // status(final|play)
331 //Aktueller Selektionsmode: 0 == Normal, 2 == Ergaenzen, 1 == Erweitern
332 ExecMethod = ExecuteStatusLine ;
333 StateMethod = StateStatusLine ;
335 FN_SET_ADD_MODE // status()
337 ExecMethod = ExecuteStatusLine ;
338 StateMethod = NoState ;
340 FN_SET_EXT_MODE // status()
342 ExecMethod = ExecuteStatusLine ;
343 StateMethod = NoState ;
345 SID_ATTR_ZOOM // status(final|play)
347 ExecMethod = ExecuteStatusLine ;
348 StateMethod = StateStatusLine ;
350 SID_ATTR_VIEWLAYOUT // status()
352 ExecMethod = ExecuteStatusLine ;
353 StateMethod = StateStatusLine ;
355 SID_ATTR_ZOOMSLIDER // status()
357 ExecMethod = ExecuteStatusLine ;
358 StateMethod = StateStatusLine ;
360 SID_ATTR_INSERT // status(final|play|rec)
362 ExecMethod = ExecuteStatusLine ;
363 StateMethod = StateStatusLine ;
365 SID_ATTR_SIZE // status()
367 ExecMethod = ExecuteStatusLine ;
368 StateMethod = StateStatusLine ;
370 SID_ATTR_POSITION // status()
372 StateMethod = StateStatusLine ;
374 SID_TABLE_CELL // status()
376 StateMethod = StateStatusLine ;
378 //----------------------------------------------
379 //End mit Statusleiste
380 //----------------------------------------------
381 SID_ATTR_BORDER_SHADOW // status()
383 ExecMethod = Execute ;
384 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
386 /****************************************************/
388 /* Properties Seitenformat */
390 /****************************************************/
391 SID_ATTR_PAGE // status()
393 ExecMethod = Execute ;
394 StateMethod = GetState ;
396 SID_ATTR_PAGE_SIZE // status(final|play)
398 ExecMethod = Execute ;
399 StateMethod = GetState ;
401 SID_ATTR_PAGE_MAXSIZE // status()
404 ExecMethod = Execute ;
406 SID_ATTR_PAGE_PAPERBIN // status(final|play)
408 ExecMethod = Execute ;
409 StateMethod = GetState ;
411 SID_THESAURUS // status(final|play)
413 ExecMethod = ExecLingu ;
414 StateMethod = GetState ;
415 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
417 SID_HANGUL_HANJA_CONVERSION // status(final|play)
419 ExecMethod = ExecLingu ;
420 StateMethod = GetState ;
421 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
423 SID_CHINESE_CONVERSION
425 ExecMethod = ExecLingu ;
426 StateMethod = GetState ;
427 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
434 SID_SEARCH_ITEM // status()
436 ExecMethod = ExecSearch ;
437 StateMethod = StateSearch ;
440 FN_REPEAT_SEARCH // status(final|play)
442 ExecMethod = ExecSearch ;
444 FID_SEARCH_NOW // status()
446 ExecMethod = ExecSearch ;
448 SID_SEARCH_OPTIONS // status()
450 StateMethod = StateSearch ;
452 FID_SEARCH_SEARCHSET // status()
454 ExecMethod = ExecSearch ;
456 FID_SEARCH_REPLACESET // status()
458 ExecMethod = ExecSearch ;
459 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
461 SID_ATTR_TABSTOP // status()
463 ExecMethod = ExecTabWin ;
464 StateMethod = StateTabWin ;
465 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
467 SID_ATTR_TABSTOP_VERTICAL // status()
469 ExecMethod = ExecTabWin ;
470 StateMethod = StateTabWin ;
471 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
473 // ab hier Export = FALSE;
474 FID_SEARCH_ON // status()
476 ExecMethod = ExecSearch ;
479 FID_SEARCH_OFF // status()
481 ExecMethod = ExecSearch ;
486 ExecMethod = Execute ;
487 StateMethod = GetState ;
493 ExecMethod = Execute ;
494 StateMethod = GetState ;
496 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
500 ExecMethod = Execute ;
501 StateMethod = GetState ;
503 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
505 SID_ATTR_CHAR_CJK_LANGUAGE
507 ExecMethod = Execute ;
508 StateMethod = GetState ;
510 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
512 SID_ATTR_CHAR_CTL_LANGUAGE
514 ExecMethod = Execute ;
515 StateMethod = GetState ;
517 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
523 ExecMethod = Execute ;
524 StateMethod = NoState ;
525 FastCall , Cachable ;
528 FN_SYNC_LABELS // status(play)
530 ExecMethod = Execute ;
532 FN_MAILMERGE_CHILDWINDOW
534 ExecMethod = Execute ;
535 StateMethod = GetState;
538 FN_MAILMERGE_SENDMAIL_CHILDWINDOW
540 ExecMethod = Execute ;
541 StateMethod = GetState;
544 SID_ATTR_BRUSH // status()
546 ExecMethod = Execute ;
547 StateMethod = GetState ;
548 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
552 ExecMethod = Execute ;
553 StateMethod = GetState ;
557 ExecMethod = Execute ;
558 StateMethod = GetState ;
560 SID_VIEW_DATA_SOURCE_BROWSER // status()
562 ExecMethod = Execute ;
563 StateMethod = GetState;
565 SID_READONLY_MODE // ole : no, status : no
567 StateMethod = GetState ;
569 SID_IMAGE_ORIENTATION
571 StateMethod = GetState ;
573 FN_INSERT_FIELD_DATA_ONLY // status(final|play)
575 ExecMethod = Execute ;
576 StateMethod = GetState ;
578 FN_QRY_MERGE // status()
580 ExecMethod = Execute ;
581 DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
585 ExecMethod = Execute ;
586 StateMethod = GetState ;
588 SID_ALIGN_ANY_HCENTER
590 ExecMethod = Execute ;
591 StateMethod = GetState ;
595 ExecMethod = Execute ;
596 StateMethod = GetState ;
598 SID_ALIGN_ANY_JUSTIFIED
600 ExecMethod = Execute ;
601 StateMethod = GetState ;
605 ExecMethod = Execute ;
606 StateMethod = GetState ;
608 SID_ALIGN_ANY_VCENTER
610 ExecMethod = Execute ;
611 StateMethod = GetState ;
615 ExecMethod = Execute ;
616 StateMethod = GetState ;
618 SID_RESTORE_EDITING_VIEW
620 ExecMethod = Execute ;
621 StateMethod = GetState ;
623 SID_INSERT_GRAPHIC // status(final|play)
625 ExecMethod = Execute ;
626 StateMethod = NoState ;
627 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
631 ExecMethod = ExecViewOptions ;
632 StateMethod = StateViewOptions ;
635 //Extra/Optionen/Ansicht
636 //Wird zusammen zum Property ViewSettings
639 ExecMethod = ExecViewOptions ;
640 StateMethod = StateViewOptions ;
646 ExecMethod = ExecViewOptions ;
647 StateMethod = StateViewOptions ;
650 // alles ab hier kann weg (Export = FALSE;), wenn die vorangehenden funktionieren
653 ExecMethod = ExecViewOptions ;
654 StateMethod = StateViewOptions ;
657 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
660 FN_VIEW_BOUNDS // status()
662 ExecMethod = ExecViewOptions ;
663 StateMethod = StateViewOptions ;
668 FN_VIEW_GRAPHIC // status()
670 ExecMethod = ExecViewOptions ;
671 StateMethod = StateViewOptions ;
674 FN_VIEW_FIELDS // status()
676 ExecMethod = ExecViewOptions ;
677 StateMethod = StateViewOptions ;
681 FN_VIEW_FIELDNAME // status()
683 ExecMethod = ExecViewOptions ;
684 StateMethod = StateViewOptions ;
689 FN_VIEW_MARKS // status()
691 ExecMethod = ExecViewOptions ;
692 StateMethod = StateViewOptions ;
697 FN_VIEW_META_CHARS // status()
699 ExecMethod = ExecViewOptions ;
700 StateMethod = StateViewOptions ;
705 FN_VIEW_TABLEGRID // status()
707 ExecMethod = ExecViewOptions ;
708 StateMethod = StateViewOptions ;
713 ExecMethod = ExecViewOptions;
714 StateMethod = StateViewOptions ;
718 ExecMethod = ExecViewOptions;
719 StateMethod = StateViewOptions ;
723 ExecMethod = ExecViewOptions;
724 StateMethod = StateViewOptions ;
727 FN_VLINEAL // status()
729 ExecMethod = ExecViewOptions ;
730 StateMethod = StateViewOptions ;
732 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
735 FN_HSCROLLBAR // status()
737 ExecMethod = ExecViewOptions ;
738 StateMethod = StateViewOptions ;
742 FN_VSCROLLBAR // status()
744 ExecMethod = ExecViewOptions ;
745 StateMethod = StateViewOptions ;
749 FN_SHADOWCURSOR // status(final|play)
751 ExecMethod = ExecViewOptions ;
752 StateMethod = StateViewOptions ;
753 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
757 interface GlobalContents
758 [ uuid = "1FD80520-F517-11d0-AC9B-008029E867C6"; ]
760 UINT16 Type FN_COLL_TYPE
762 UINT16 Position FN_COLL_TYPE
767 // Bereichsname, Index-Titel oder Leerstring
768 String Title FN_COLL_TITLE
770 UINT16 Position FN_COLL_TITLE
774 // ohne FileName wird ein TextBereich an der Position eingefuegt
775 BOOL InsertDocument FN_COLL_ADD
777 UINT16 Position FN_COLL_ADD,
778 UINT16 FileName FN_PARAM_1