Update git submodules
[LibreOffice.git] / sw / sdi / viewsh.sdi
blobcb02b883ba65fd0dc0848500fc2f5cf66d700de2
1 /*
2  * This file is part of the LibreOffice project.
3  *
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/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
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 .
17  */
19 interface TextEditView : BaseTextEditView
21      // Slots, which are not needed in the WebDocShell
22     SID_DRAWTBX_LINES
23     [
24         StateMethod = GetState ;
25     ]
27     FN_INSERT_OBJ_CTRL
28     [
29         StateMethod = GetState ;
30         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
31     ]
32     FN_INSERT_CAPTION // status()
33     [
34         ExecMethod = ExecDlgExt ;
35         StateMethod = GetState ;
36         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
37     ]
38     SID_INSERT_SIGNATURELINE // status()
39     [
40         ExecMethod = ExecDlgExt ;
41         StateMethod = GetState ;
42         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
43     ]
44     SID_EDIT_SIGNATURELINE // status()
45     [
46         ExecMethod = ExecDlgExt ;
47         StateMethod = GetState ;
48         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
49     ]
50     SID_SIGN_SIGNATURELINE // status()
51     [
52         ExecMethod = ExecDlgExt ;
53         StateMethod = GetState ;
54         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
55     ]
56     SID_INSERT_QRCODE // status()
57     [
58         ExecMethod = ExecDlgExt ;
59         StateMethod = GetState ;
60         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
61     ]
62     SID_EDIT_QRCODE // status()
63     [
64         ExecMethod = ExecDlgExt ;
65         StateMethod = GetState ;
66         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
67     ]
68     SID_ADDITIONS_DIALOG // status()
69     [
70         ExecMethod = ExecDlgExt ;
71         StateMethod = GetState ;
72         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
73     ]
74     FN_EDIT_FOOTNOTE // status(final|play)
75     [
76         ExecMethod = ExecDlgExt ;
77         StateMethod = GetState ;
78         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
79     ]
80     FN_HYPHENATE_OPT_DLG // status(final|play)
81     [
82         ExecMethod = ExecLingu ;
83         StateMethod = GetState ;
84         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
85     ]
86     FN_CHANGE_PAGENUM // status(final)
87     [
88         ExecMethod = ExecDlg ;
89         StateMethod = GetState ;
90         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
91     ]
92     SID_INSERT_DRAW // status()
93     [
94         StateMethod = GetDrawState ;
95     ]
96     SID_DRAW_LINE
97     [
98         ExecMethod = ExecDraw ;
99         StateMethod = GetDrawState ;
100     ]
101     SID_DRAW_XLINE
102     [
103         ExecMethod = ExecDraw ;
104         StateMethod = GetDrawState ;
105     ]
106     SID_LINE_ARROW_END
107     [
108         ExecMethod = ExecDraw ;
109         StateMethod = GetDrawState ;
110     ]
111     SID_LINE_ARROW_CIRCLE
112     [
113         ExecMethod = ExecDraw ;
114         StateMethod = GetDrawState ;
115     ]
116     SID_LINE_ARROW_SQUARE
117     [
118         ExecMethod = ExecDraw ;
119         StateMethod = GetDrawState ;
120     ]
121     SID_LINE_ARROW_START
122     [
123         ExecMethod = ExecDraw ;
124         StateMethod = GetDrawState ;
125     ]
126     SID_LINE_CIRCLE_ARROW
127     [
128         ExecMethod = ExecDraw ;
129         StateMethod = GetDrawState ;
130     ]
131     SID_LINE_SQUARE_ARROW
132     [
133         ExecMethod = ExecDraw ;
134         StateMethod = GetDrawState ;
135     ]
136     SID_LINE_ARROWS
137     [
138         ExecMethod = ExecDraw ;
139         StateMethod = GetDrawState ;
140     ]
141     SID_DRAW_MEASURELINE
142     [
143         ExecMethod = ExecDraw ;
144         StateMethod = GetDrawState ;
145     ]
146     SID_DRAWTBX_ARROWS
147     [
148         StateMethod = GetDrawState ;
149     ]
150     SID_DRAW_RECT
151     [
152         ExecMethod = ExecDraw ;
153         StateMethod = GetDrawState ;
154     ]
155     SID_DRAW_ELLIPSE
156     [
157         ExecMethod = ExecDraw ;
158         StateMethod = GetDrawState ;
159     ]
160     SID_DRAW_XPOLYGON_NOFILL
161     [
162         ExecMethod = ExecDraw ;
163         StateMethod = GetDrawState ;
164     ]
165     SID_DRAW_XPOLYGON
166     [
167         ExecMethod = ExecDraw ;
168         StateMethod = GetDrawState ;
169     ]
170     SID_DRAW_POLYGON_NOFILL
171     [
172         ExecMethod = ExecDraw ;
173         StateMethod = GetDrawState ;
174     ]
175     SID_DRAW_POLYGON
176     [
177         ExecMethod = ExecDraw ;
178         StateMethod = GetDrawState ;
179     ]
180     SID_DRAW_BEZIER_NOFILL
181     [
182         ExecMethod = ExecDraw ;
183         StateMethod = GetDrawState ;
184     ]
185     SID_DRAW_BEZIER_FILL
186     [
187         ExecMethod = ExecDraw ;
188         StateMethod = GetDrawState ;
189     ]
190     SID_DRAW_FREELINE_NOFILL
191     [
192         ExecMethod = ExecDraw ;
193         StateMethod = GetDrawState ;
194     ]
195     SID_DRAW_FREELINE
196     [
197         ExecMethod = ExecDraw ;
198         StateMethod = GetDrawState ;
199     ]
200     SID_DRAW_ARC
201     [
202         ExecMethod = ExecDraw ;
203         StateMethod = GetDrawState ;
204     ]
205     SID_DRAW_PIE
206     [
207         ExecMethod = ExecDraw ;
208         StateMethod = GetDrawState ;
209     ]
210     SID_DRAW_CIRCLECUT
211     [
212         ExecMethod = ExecDraw ;
213         StateMethod = GetDrawState ;
214     ]
215     SID_DRAW_TEXT
216     [
217         ExecMethod = ExecDraw ;
218         StateMethod = GetDrawState ;
219     ]
220     SID_DRAW_TEXT_VERTICAL
221     [
222         ExecMethod = ExecDraw ;
223         StateMethod = GetDrawState ;
224     ]
225     SID_DRAW_TEXT_MARQUEE
226     [
227         ExecMethod = ExecDraw ;
228         StateMethod = GetDrawState ;
229     ]
230     SID_DRAW_CAPTION
231     [
232         ExecMethod = ExecDraw ;
233         StateMethod = GetDrawState ;
234     ]
235     SID_DRAW_CAPTION_VERTICAL
236     [
237         ExecMethod = ExecDraw ;
238         StateMethod = GetDrawState ;
239     ]
240     SID_FONTWORK_GALLERY_FLOATER
241     [
242         ExecMethod = ExecDraw ;
243         StateMethod = GetDrawState ;
244     ]
245     SID_DRAWTBX_CS_BASIC
246     [
247         ExecMethod = ExecDraw ;
248         StateMethod = GetDrawState ;
249     ]
250     SID_DRAWTBX_CS_SYMBOL
251     [
252         ExecMethod = ExecDraw ;
253         StateMethod = GetDrawState ;
254     ]
255     SID_DRAWTBX_CS_ARROW
256     [
257         ExecMethod = ExecDraw ;
258         StateMethod = GetDrawState ;
259     ]
260     SID_DRAWTBX_CS_FLOWCHART
261     [
262         ExecMethod = ExecDraw ;
263         StateMethod = GetDrawState ;
264     ]
265     SID_DRAWTBX_CS_CALLOUT
266     [
267         ExecMethod = ExecDraw ;
268         StateMethod = GetDrawState ;
269     ]
270     SID_DRAWTBX_CS_STAR
271     [
272         ExecMethod = ExecDraw ;
273         StateMethod = GetDrawState ;
274     ]
275     SID_DRAW_CS_ID
276     [
277         ExecMethod = ExecDraw ;
278         StateMethod = GetDrawState ;
279     ]
280     SID_FM_CREATE_CONTROL // status()
281     [
282         ExecMethod = ExecDraw ;
283         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
284     ]
285     SID_FM_CREATE_FIELDCONTROL
286     [
287         ExecMethod = ExecDraw ;
288         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
289     ]
292 shell SwView
294     import TextEditView;
297 interface TextPrintPreview
299     SID_BROWSER_MODE
300     [
301         StateMethod = GetState;
302     ]
303     FN_PRINT_LAYOUT
304     [
305         ExecMethod = Execute;
306         StateMethod = GetState;
307     ]
308     SID_REFRESH_VIEW // status(final|play)
309     [
310         StateMethod = GetState ;
311     ]
312     FN_CHAR_LEFT // status(final|play)
313     [
314         ExecMethod = Execute;
315         StateMethod = NoState ;
316     ]
317     FN_CHAR_RIGHT // status(final|play)
318     [
319         ExecMethod = Execute;
320         StateMethod = NoState ;
321     ]
322     FN_LINE_UP // status(final|play)
323     [
324         ExecMethod = Execute;
325         StateMethod = NoState ;
326     ]
327     FN_LINE_DOWN // status(final|play)
328     [
329         ExecMethod = Execute;
330         StateMethod = NoState ;
331     ]
332     FN_PAGEUP // status(final|play)
333     [
334         ExecMethod = Execute ;
335         StateMethod = GetState ;
336     ]
337     FN_PAGEDOWN // status(final|play)
338     [
339         ExecMethod = Execute ;
340         StateMethod = GetState ;
341     ]
342     FN_START_OF_DOCUMENT // status(final|play)
343     [
344         ExecMethod = Execute ;
345         StateMethod = GetState ;
346     ]
347     FN_END_OF_DOCUMENT // status(final|play)
348     [
349         ExecMethod = Execute ;
350         StateMethod = GetState ;
351     ]
352     FN_SHOW_TWO_PAGES // status(final|play)
353     [
354         ExecMethod = Execute ;
355         StateMethod = GetState ;
356     ]
357     FN_SHOW_SINGLE_PAGE // status(final|play)
358     [
359         ExecMethod = Execute ;
360         StateMethod = GetState ;
361     ]
363     FN_SHOW_MULTIPLE_PAGES // status(final|play)
364     [
365         ExecMethod = Execute ;
366         StateMethod = GetState ;
367     ]
368     FN_SHOW_BOOKVIEW // status(final|play)
369     [
370         ExecMethod = Execute ;
371         StateMethod = GetState ;
372     ]
373     FN_PRINT_PAGEPREVIEW // status()
374     [
375         ExecMethod = Execute ;
376         StateMethod = GetState ;
377     ]
378     SID_PRINTDOC // status(final|play)
379     [
380         ExecMethod = Execute ;
381         StateMethod = GetState ;
382     ]
383     SID_PRINTDOCDIRECT // status(final|play)
384     [
385         ExecMethod = Execute ;
386         StateMethod = GetState ;
387     ]
388     SID_PRINTPREVIEW // status(final|play)
389     [
390         ExecMethod = Execute ;
391         StateMethod = GetState ;
392     ]
393     FN_CLOSE_PAGEPREVIEW
394     [
395         ExecMethod = Execute ;
396         StateMethod = GetState ;
397     ]
398     SID_ZOOM_IN
399     [
400         ExecMethod = Execute ;
401         StateMethod = GetState ;
402     ]
403     SID_ZOOM_OUT
404     [
405         ExecMethod = Execute ;
406         StateMethod = GetState ;
407     ]
408     FN_PREVIEW_ZOOM
409     [
410         ExecMethod = Execute ;
411         StateMethod = GetState ;
412     ]
413     SID_UNDO // status()
414     [
415         StateMethod = StateUndo ;
416     ]
417     SID_REDO // status()
418     [
419         StateMethod = StateUndo ;
420     ]
421     SID_REPEAT // status()
422     [
423         StateMethod = StateUndo ;
424     ]
426     // Begin StatusBar
427     FN_STAT_ZOOM // status()
428     [
429         ExecMethod = Execute ;
430         StateMethod = GetState ;
431     ]
432     SID_ATTR_ZOOM // status()
433     [
434         ExecMethod = Execute ;
435         StateMethod = GetState ;
436     ]
437     FN_STAT_PAGE // status()
438     [
439         ExecMethod = Execute ;
440         StateMethod = GetState ;
441     ]
442     FN_START_OF_LINE // status()
443     [
444         ExecMethod = Execute ;
445         StateMethod = GetState ;
446     ]
447     FN_END_OF_LINE // status()
448     [
449         ExecMethod = Execute ;
450         StateMethod = GetState ;
451     ]
452     FN_INSERT_BREAK // status()
453     [
454         ExecMethod = Execute ;
455         StateMethod = GetState ;
456     ]
457     SID_ATTR_ZOOMSLIDER // status()
458     [
459             ExecMethod = Execute ;
460             StateMethod = GetState ;
461     ]
462     FN_STAT_WORDCOUNT // status()
463     [
464         ExecMethod = Execute ;
465         StateMethod = GetState ;
466     ]
467     SID_JUMP_TO_SPECIFIC_PAGE // status()
468     [
469         ExecMethod = Execute ;
470         StateMethod = GetState ;
471     ]
473     // End StatusBar
476 shell SwPagePreview
478     import TextPrintPreview;