xref: /aoo42x/main/sw/sdi/viewsh.sdi (revision a02241ff)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24interface TextInTable
25[ uuid = "63C33940-69D8-101D-9757-C667E8298000" ]
26{
27	import Text;
28		import TextTable;
29}
30
31interface ListInTable
32[ uuid="7F1A6E20-69D8-101D-9757-C667E8298000" ]
33{
34	import Text;
35		import TextList;
36		import TextTable;
37}
38
39interface ListInText
40[ uuid = "8A4C07E0-69D8-101D-9757-C667E8298000"]
41{
42	import TextList;
43	import Text;
44}
45
46interface TextEditView : BaseTextEditView
47[
48	uuid = "09782660-111A-101D-9757-6E74207A7520"
49]
50{
51	 // Slots, die nicht in der WebDocShell gebraucht werden
52	FN_INSERT_OBJ_CTRL
53	[
54		ExecMethod = Execute ;
55		StateMethod = GetState ;
56		Export = FALSE ;
57		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
58	]
59	FN_INSERT_CAPTION // status()
60	[
61		ExecMethod = ExecDlgExt ;
62		StateMethod = GetState ;
63		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
64	]
65	FN_EDIT_FOOTNOTE // status(final|play)
66	[
67		ExecMethod = ExecDlgExt ;
68		StateMethod = GetState ;
69		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
70	]
71	FN_HYPHENATE_OPT_DLG // status(final|play)
72	[
73		ExecMethod = ExecLingu ;
74		StateMethod = GetState ;
75		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
76	]
77	FN_CHANGE_PAGENUM // status(final)
78	[
79		ExecMethod = ExecDlg ;
80		StateMethod = GetState ;
81		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
82	]
83    SID_INSERT_DRAW // status()
84	[
85		ExecMethod = ExecDraw ;
86		StateMethod = GetDrawState ;
87	]
88    SID_FONTWORK_GALLERY_FLOATER
89    [
90        ExecMethod = ExecDraw ;
91        StateMethod = GetDrawState ;
92    ]
93    SID_DRAWTBX_CS_BASIC
94    [
95        ExecMethod = ExecDraw ;
96        StateMethod = GetDrawState ;
97    ]
98    SID_DRAWTBX_CS_SYMBOL
99    [
100        ExecMethod = ExecDraw ;
101        StateMethod = GetDrawState ;
102    ]
103    SID_DRAWTBX_CS_ARROW
104    [
105        ExecMethod = ExecDraw ;
106        StateMethod = GetDrawState ;
107    ]
108    SID_DRAWTBX_CS_FLOWCHART
109    [
110        ExecMethod = ExecDraw ;
111        StateMethod = GetDrawState ;
112    ]
113    SID_DRAWTBX_CS_CALLOUT
114    [
115        ExecMethod = ExecDraw ;
116        StateMethod = GetDrawState ;
117    ]
118    SID_DRAWTBX_CS_STAR
119    [
120        ExecMethod = ExecDraw ;
121        StateMethod = GetDrawState ;
122    ]
123    SID_DRAW_CS_ID
124    [
125        ExecMethod = ExecDraw ;
126        StateMethod = GetDrawState ;
127    ]
128    SID_FM_CREATE_CONTROL // status()
129	[
130		ExecMethod = ExecDraw ;
131		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
132	]
133    SID_FM_CREATE_FIELDCONTROL
134    [
135		ExecMethod = ExecDraw ;
136		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
137	]
138}
139 //=========================================================================
140
141shell SwView
142
143{
144	import TextEditView [Automation];
145//	import TextPage "Page";
146//	import SearchSettings;
147//	import SearchAttributes;
148//	import ReplaceAttributes;
149}
150
151interface TextPrintPreview
152[ uuid = "1622A480-111A-101D-9757-6E74207A7520" ]
153{
154    SID_BROWSER_MODE
155    [
156        StateMethod = GetState;
157    ]
158    FN_PRINT_LAYOUT
159    [
160        ExecMethod = Execute;
161        StateMethod = GetState;
162    ]
163	FN_REFRESH_VIEW // status(final|play)
164	[
165		StateMethod = GetState ;
166	]
167	FN_CHAR_LEFT // status(final|play)
168	[
169		ExecMethod = Execute;
170		StateMethod = NoState ;
171	]
172	FN_CHAR_RIGHT // status(final|play)
173	[
174		ExecMethod = Execute;
175		StateMethod = NoState ;
176	]
177	FN_LINE_UP // status(final|play)
178	[
179		ExecMethod = Execute;
180		StateMethod = NoState ;
181	]
182	FN_LINE_DOWN // status(final|play)
183	[
184		ExecMethod = Execute;
185		StateMethod = NoState ;
186	]
187	FN_PAGEUP // status(final|play)
188	[
189		ExecMethod = Execute ;
190		StateMethod = GetState ;
191	]
192	FN_PAGEDOWN // status(final|play)
193	[
194		ExecMethod = Execute ;
195		StateMethod = GetState ;
196	]
197	FN_START_OF_DOCUMENT // status(final|play)
198	[
199		ExecMethod = Execute ;
200		StateMethod = GetState ;
201	]
202	FN_END_OF_DOCUMENT // status(final|play)
203	[
204		ExecMethod = Execute ;
205		StateMethod = GetState ;
206	]
207	FN_SHOW_TWO_PAGES // status(final|play)
208	[
209		ExecMethod = Execute ;
210		StateMethod = GetState ;
211	]
212    FN_SHOW_MULTIPLE_PAGES // status(final|play)
213	[
214		ExecMethod = Execute ;
215		StateMethod = GetState ;
216	]
217	FN_SHOW_BOOKVIEW // status(final|play)
218	[
219		ExecMethod = Execute ;
220		StateMethod = GetState ;
221	]
222	FN_PRINT_PAGEPREVIEW // status()
223	[
224		ExecMethod = Execute ;
225		StateMethod = GetState ;
226	]
227	SID_PRINTDOC // status(final|play)
228	[
229		ExecMethod = Execute ;
230		StateMethod = GetState ;
231	]
232	SID_PRINTDOCDIRECT // status(final|play)
233	[
234		ExecMethod = Execute ;
235		StateMethod = GetState ;
236	]
237	SID_PRINTPREVIEW // status(final|play)
238	[
239		ExecMethod = Execute ;
240		StateMethod = GetState ;
241	]
242    FN_CLOSE_PAGEPREVIEW
243    [
244		ExecMethod = Execute ;
245		StateMethod = GetState ;
246	]
247    SID_ZOOM_IN
248    [
249        ExecMethod = Execute ;
250        StateMethod = GetState ;
251    ]
252    SID_ZOOM_OUT
253    [
254        ExecMethod = Execute ;
255        StateMethod = GetState ;
256    ]
257    FN_PREVIEW_ZOOM
258	[
259		ExecMethod = Execute ;
260        StateMethod = GetState ;
261    ]
262	SID_UNDO // status()
263	[
264		StateMethod = StateUndo ;
265	]
266	SID_REDO // status()
267	[
268		StateMethod = StateUndo ;
269	]
270	SID_REPEAT // status()
271	[
272		StateMethod = StateUndo ;
273	]
274	 //---------------------------------------------------------------------
275	 //Ab hier Statusleiste
276	FN_STAT_ZOOM // status()
277	[
278		ExecMethod = Execute ;
279		StateMethod = GetState ;
280	]
281	SID_ATTR_ZOOM // status()
282	[
283		ExecMethod = Execute ;
284		StateMethod = GetState ;
285	]
286	FN_STAT_PAGE // status()
287	[
288		ExecMethod = Execute ;
289		StateMethod = GetState ;
290	]
291    FN_START_OF_LINE // status()
292	[
293		ExecMethod = Execute ;
294		StateMethod = GetState ;
295	]
296    FN_END_OF_LINE // status()
297	[
298		ExecMethod = Execute ;
299		StateMethod = GetState ;
300	]
301    FN_INSERT_BREAK // status()
302	[
303		ExecMethod = Execute ;
304		StateMethod = GetState ;
305	]
306        SID_ATTR_ZOOMSLIDER // status()
307        [
308                ExecMethod = Execute ;
309                StateMethod = GetState ;
310        ]
311     //----------------------------------------------
312	 //End mit Statusleiste
313}
314
315 //=========================================================================
316
317shell SwPagePreView
318{
319	import TextPrintPreview[Automation];
320}
321
322
323