xref: /trunk/main/sw/sdi/wviewsh.sdi (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28interface WebTextInTable
29[ uuid = "B47F0DE7-1E1F-11d1-89CA-008029E4B0B1" ]
30{
31	import WebText;
32		import WebTable;
33}
34
35interface WebListInTable
36[ uuid="B47F0DE8-1E1F-11d1-89CA-008029E4B0B1" ]
37{
38	import WebText;
39		import WebList;
40		import WebTable;
41}
42
43interface WebListInText
44[ uuid = "B47F0DE9-1E1F-11d1-89CA-008029E4B0B1"]
45{
46	import WebList;
47	import WebText;
48}
49
50interface WebEditView : BaseTextEditView
51[
52	uuid = "B47F0DEA-1E1F-11d1-89CA-008029E4B0B1"
53]
54{
55	SID_DRAW_TEXT_MARQUEE // status()
56	[
57		ExecMethod = ExecDraw ;
58		StateMethod = GetDrawState ;
59		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
60	]
61}
62
63shell SwWebView
64{
65	import WebEditView [Automation];
66//	import SearchSettings;
67//	import TextPage "Page";
68//	import SearchAttributes;
69//	import ReplaceAttributes;
70
71}
72
73interface WebSourceView
74[ uuid = "95069CE0-69D8-101D-9757-C667E8298000"]
75{
76	SID_TABLE_CELL // status()
77	[
78		StateMethod = GetState ;
79	]
80	SID_SAVEASDOC // status()
81	[
82		ExecMethod = Execute ;
83		StateMethod = GetState ;
84	]
85	SID_SAVEDOC // status()
86	[
87		ExecMethod = Execute ;
88		StateMethod = GetState ;
89	]
90	SID_PRINTDOC // status(final|play)
91	[
92		ExecMethod = Execute ;
93		StateMethod = GetState ;
94	]
95	SID_PRINTDOCDIRECT // status(final|play)
96	[
97		ExecMethod = Execute ;
98		StateMethod = GetState ;
99	]
100    SID_SEARCH_OPTIONS
101	[
102		ExecMethod = Execute ;
103		StateMethod = GetState ;
104	]
105	SID_SEARCH_ITEM
106	[
107		ExecMethod = Execute ;
108		StateMethod = GetState ;
109		Export = FALSE;
110	]
111	FID_SEARCH_NOW
112	[
113		ExecMethod = Execute ;
114		StateMethod = GetState ;
115	]
116    FN_REPEAT_SEARCH // status(final|play)
117    [
118        ExecMethod = Execute;
119        StateMethod = GetState ;
120    ]
121    SID_UNDO // status(final|play)
122	[
123		ExecMethod = Execute ;
124		StateMethod = GetState ;
125	]
126
127	SID_REDO // status(final|play)
128	[
129		ExecMethod = Execute ;
130		StateMethod = GetState ;
131	]
132
133	SID_REPEAT // status()
134	[
135		ExecMethod = Execute ;
136		StateMethod = GetState ;
137		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
138	]
139
140	SID_CUT // status(final|play)
141	[
142		ExecMethod = Execute ;
143		StateMethod = GetState ;
144		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
145	]
146
147	SID_COPY   // status(final|play)
148	[
149		ExecMethod = Execute ;
150		StateMethod = GetState ;
151	]
152
153	SID_PASTE  // status(final|play)
154	[
155		ExecMethod = Execute ;
156		StateMethod = GetState ;
157		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
158	]
159
160	SID_SELECTALL // status(final|play)
161	[
162		ExecMethod = Execute ;
163		StateMethod = NoState ;
164	]
165    SID_MAIL_SENDDOC
166    [
167        StateMethod = GetState ;
168    ]
169    SID_MAIL_SENDDOCASPDF
170    [
171        StateMethod = GetState ;
172    ]
173    SID_EXPORTDOC
174    [
175        StateMethod = GetState ;
176    ]
177    SID_EXPORTDOCASPDF
178    [
179        StateMethod = GetState ;
180    ]
181    SID_DIRECTEXPORTDOCASPDF
182    [
183        StateMethod = GetState ;
184    ]
185    SID_BROWSER_MODE
186    [
187        StateMethod = GetState;
188    ]
189    FN_PRINT_LAYOUT
190    [
191        StateMethod = GetState;
192    ]
193}
194
195shell SwSrcView
196
197{
198		import WebSourceView [Automation];
199}
200
201
202
203
204