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 [ uuid = "63C33940-69D8-101D-9757-C667E8298000" ]
27 [ uuid="7F1A6E20-69D8-101D-9757-C667E8298000" ]
35 [ uuid = "8A4C07E0-69D8-101D-9757-C667E8298000"]
41 interface TextEditView : BaseTextEditView
43 uuid = "09782660-111A-101D-9757-6E74207A7520"
46 // Slots, which are not needed in the WebDocShell
49 ExecMethod = Execute ;
50 StateMethod = GetState ;
52 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
54 FN_INSERT_CAPTION // status()
56 ExecMethod = ExecDlgExt ;
57 StateMethod = GetState ;
58 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
60 FN_EDIT_FOOTNOTE // status(final|play)
62 ExecMethod = ExecDlgExt ;
63 StateMethod = GetState ;
64 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
66 FN_HYPHENATE_OPT_DLG // status(final|play)
68 ExecMethod = ExecLingu ;
69 StateMethod = GetState ;
70 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
72 FN_CHANGE_PAGENUM // status(final)
74 ExecMethod = ExecDlg ;
75 StateMethod = GetState ;
76 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
78 SID_INSERT_DRAW // status()
80 ExecMethod = ExecDraw ;
81 StateMethod = GetDrawState ;
83 SID_FONTWORK_GALLERY_FLOATER
85 ExecMethod = ExecDraw ;
86 StateMethod = GetDrawState ;
90 ExecMethod = ExecDraw ;
91 StateMethod = GetDrawState ;
95 ExecMethod = ExecDraw ;
96 StateMethod = GetDrawState ;
100 ExecMethod = ExecDraw ;
101 StateMethod = GetDrawState ;
103 SID_DRAWTBX_CS_FLOWCHART
105 ExecMethod = ExecDraw ;
106 StateMethod = GetDrawState ;
108 SID_DRAWTBX_CS_CALLOUT
110 ExecMethod = ExecDraw ;
111 StateMethod = GetDrawState ;
115 ExecMethod = ExecDraw ;
116 StateMethod = GetDrawState ;
120 ExecMethod = ExecDraw ;
121 StateMethod = GetDrawState ;
123 SID_FM_CREATE_CONTROL // status()
125 ExecMethod = ExecDraw ;
126 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
128 SID_FM_CREATE_FIELDCONTROL
130 ExecMethod = ExecDraw ;
131 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
134 //=========================================================================
139 import TextEditView [Automation];
140 // import TextPage "Page";
141 // import SearchSettings;
142 // import SearchAttributes;
143 // import ReplaceAttributes;
146 interface TextPrintPreview
147 [ uuid = "1622A480-111A-101D-9757-6E74207A7520" ]
151 StateMethod = GetState;
155 ExecMethod = Execute;
156 StateMethod = GetState;
158 FN_REFRESH_VIEW // status(final|play)
160 StateMethod = GetState ;
162 FN_CHAR_LEFT // status(final|play)
164 ExecMethod = Execute;
165 StateMethod = NoState ;
167 FN_CHAR_RIGHT // status(final|play)
169 ExecMethod = Execute;
170 StateMethod = NoState ;
172 FN_LINE_UP // status(final|play)
174 ExecMethod = Execute;
175 StateMethod = NoState ;
177 FN_LINE_DOWN // status(final|play)
179 ExecMethod = Execute;
180 StateMethod = NoState ;
182 FN_PAGEUP // status(final|play)
184 ExecMethod = Execute ;
185 StateMethod = GetState ;
187 FN_PAGEDOWN // status(final|play)
189 ExecMethod = Execute ;
190 StateMethod = GetState ;
192 FN_START_OF_DOCUMENT // status(final|play)
194 ExecMethod = Execute ;
195 StateMethod = GetState ;
197 FN_END_OF_DOCUMENT // status(final|play)
199 ExecMethod = Execute ;
200 StateMethod = GetState ;
202 FN_SHOW_TWO_PAGES // status(final|play)
204 ExecMethod = Execute ;
205 StateMethod = GetState ;
207 FN_SHOW_MULTIPLE_PAGES // status(final|play)
209 ExecMethod = Execute ;
210 StateMethod = GetState ;
212 FN_SHOW_BOOKVIEW // status(final|play)
214 ExecMethod = Execute ;
215 StateMethod = GetState ;
217 FN_PRINT_PAGEPREVIEW // status()
219 ExecMethod = Execute ;
220 StateMethod = GetState ;
222 SID_PRINTDOC // status(final|play)
224 ExecMethod = Execute ;
225 StateMethod = GetState ;
227 SID_PRINTDOCDIRECT // status(final|play)
229 ExecMethod = Execute ;
230 StateMethod = GetState ;
232 SID_PRINTPREVIEW // status(final|play)
234 ExecMethod = Execute ;
235 StateMethod = GetState ;
239 ExecMethod = Execute ;
240 StateMethod = GetState ;
244 ExecMethod = Execute ;
245 StateMethod = GetState ;
249 ExecMethod = Execute ;
250 StateMethod = GetState ;
254 ExecMethod = Execute ;
255 StateMethod = GetState ;
259 StateMethod = StateUndo ;
263 StateMethod = StateUndo ;
265 SID_REPEAT // status()
267 StateMethod = StateUndo ;
269 //---------------------------------------------------------------------
271 FN_STAT_ZOOM // status()
273 ExecMethod = Execute ;
274 StateMethod = GetState ;
276 SID_ATTR_ZOOM // status()
278 ExecMethod = Execute ;
279 StateMethod = GetState ;
281 FN_STAT_PAGE // status()
283 ExecMethod = Execute ;
284 StateMethod = GetState ;
286 FN_START_OF_LINE // status()
288 ExecMethod = Execute ;
289 StateMethod = GetState ;
291 FN_END_OF_LINE // status()
293 ExecMethod = Execute ;
294 StateMethod = GetState ;
296 FN_INSERT_BREAK // status()
298 ExecMethod = Execute ;
299 StateMethod = GetState ;
301 SID_ATTR_ZOOMSLIDER // status()
303 ExecMethod = Execute ;
304 StateMethod = GetState ;
306 FN_STAT_WORDCOUNT // status()
308 ExecMethod = Execute ;
309 StateMethod = GetState ;
311 //----------------------------------------------
315 //=========================================================================
319 import TextPrintPreview[Automation];