xref: /aoo41x/main/sw/sdi/_annotsh.sdi (revision 766ce4d0)
1a02241ffSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3a02241ffSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4a02241ffSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5a02241ffSAndrew Rist * distributed with this work for additional information
6a02241ffSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7a02241ffSAndrew Rist * to you under the Apache License, Version 2.0 (the
8a02241ffSAndrew Rist * "License"); you may not use this file except in compliance
9a02241ffSAndrew Rist * with the License.  You may obtain a copy of the License at
10a02241ffSAndrew Rist *
11a02241ffSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12a02241ffSAndrew Rist *
13a02241ffSAndrew Rist * Unless required by applicable law or agreed to in writing,
14a02241ffSAndrew Rist * software distributed under the License is distributed on an
15a02241ffSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16a02241ffSAndrew Rist * KIND, either express or implied.  See the License for the
17a02241ffSAndrew Rist * specific language governing permissions and limitations
18a02241ffSAndrew Rist * under the License.
19a02241ffSAndrew Rist *
20a02241ffSAndrew Rist *************************************************************/
21a02241ffSAndrew Rist
22a02241ffSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirinterface _Annotation
25cdf0e10cSrcweir[ Automation = FALSE; ]
26cdf0e10cSrcweir{
27cdf0e10cSrcweir	FN_DELETE_COMMENT
28cdf0e10cSrcweir	[
29cdf0e10cSrcweir		ExecMethod = NoteExec ;
30cdf0e10cSrcweir		StateMethod = GetNoteState ;
31cdf0e10cSrcweir	]
32cdf0e10cSrcweir
33cdf0e10cSrcweir	FN_DELETE_NOTE_AUTHOR
34cdf0e10cSrcweir	[
35cdf0e10cSrcweir		ExecMethod = NoteExec ;
36cdf0e10cSrcweir		StateMethod = GetNoteState ;
37cdf0e10cSrcweir	]
38cdf0e10cSrcweir
39cdf0e10cSrcweir	FN_DELETE_ALL_NOTES
40cdf0e10cSrcweir	[
41cdf0e10cSrcweir		ExecMethod = NoteExec ;
42cdf0e10cSrcweir		StateMethod = GetNoteState ;
43cdf0e10cSrcweir	]
44cdf0e10cSrcweir
45cdf0e10cSrcweir	FN_HIDE_NOTE
46cdf0e10cSrcweir	[
47cdf0e10cSrcweir		ExecMethod = NoteExec ;
48cdf0e10cSrcweir		StateMethod = GetNoteState ;
49cdf0e10cSrcweir	]
50cdf0e10cSrcweir
51cdf0e10cSrcweir	FN_HIDE_NOTE_AUTHOR
52cdf0e10cSrcweir	[
53cdf0e10cSrcweir		ExecMethod = NoteExec ;
54cdf0e10cSrcweir		StateMethod = GetNoteState ;
55cdf0e10cSrcweir	]
56cdf0e10cSrcweir
57cdf0e10cSrcweir	FN_HIDE_ALL_NOTES
58cdf0e10cSrcweir	[
59cdf0e10cSrcweir		ExecMethod = NoteExec ;
60cdf0e10cSrcweir		StateMethod = GetNoteState ;
61cdf0e10cSrcweir	]
62cdf0e10cSrcweir
63cdf0e10cSrcweir	FN_POSTIT
64cdf0e10cSrcweir        [
65cdf0e10cSrcweir                ExecMethod = NoteExec ;
66cdf0e10cSrcweir                StateMethod = GetNoteState ;
67cdf0e10cSrcweir        ]
68cdf0e10cSrcweir
69cdf0e10cSrcweir	FN_REPLY
70cdf0e10cSrcweir	[
71cdf0e10cSrcweir		ExecMethod = NoteExec ;
72cdf0e10cSrcweir		StateMethod = GetNoteState ;
73cdf0e10cSrcweir	]
74cdf0e10cSrcweir	FN_ESCAPE // api:
75cdf0e10cSrcweir	[
76cdf0e10cSrcweir		ExecMethod = NoteExec ;
77cdf0e10cSrcweir	]
78cdf0e10cSrcweir
79cdf0e10cSrcweir	SfxVoidItem Cut SID_CUT ( )  // api:
80cdf0e10cSrcweir	[
81cdf0e10cSrcweir		ExecMethod = ExecClpbrd ;
82cdf0e10cSrcweir		StateMethod = StateClpbrd ;
83cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
84cdf0e10cSrcweir	]
85cdf0e10cSrcweir
86cdf0e10cSrcweir	SID_COPY // api:
87cdf0e10cSrcweir	[
88cdf0e10cSrcweir		ExecMethod = ExecClpbrd ;
89cdf0e10cSrcweir		StateMethod = StateClpbrd ;
90cdf0e10cSrcweir	]
91cdf0e10cSrcweir
92cdf0e10cSrcweir	SID_PASTE   // api:
93cdf0e10cSrcweir	[
94cdf0e10cSrcweir		ExecMethod = ExecClpbrd ;
95cdf0e10cSrcweir		StateMethod = StateClpbrd ;
96cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
97cdf0e10cSrcweir	]
98cdf0e10cSrcweir
99cdf0e10cSrcweir    SID_PASTE_SPECIAL  // api:
100cdf0e10cSrcweir	[
101cdf0e10cSrcweir		StateMethod = StateClpbrd ;
102cdf0e10cSrcweir		ExecMethod = ExecClpbrd ;
103cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
104cdf0e10cSrcweir	]
105cdf0e10cSrcweir
106cdf0e10cSrcweir	SID_CLIPBOARD_FORMAT_ITEMS  // status(final|play)
107cdf0e10cSrcweir	[
108cdf0e10cSrcweir		StateMethod = StateClpbrd ;
109cdf0e10cSrcweir		ExecMethod = ExecClpbrd ;
110cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
111cdf0e10cSrcweir	]
112cdf0e10cSrcweir
113cdf0e10cSrcweir	SID_SELECTALL  // api:
114cdf0e10cSrcweir	[
115cdf0e10cSrcweir		ExecMethod = Exec ;
116cdf0e10cSrcweir		StateMethod = NoState ;
117cdf0e10cSrcweir	]
118cdf0e10cSrcweir
119cdf0e10cSrcweir	SID_UNDO // api:
120cdf0e10cSrcweir	[
121cdf0e10cSrcweir		ExecMethod = ExecUndo ;
122cdf0e10cSrcweir		StateMethod = StateUndo ;
123cdf0e10cSrcweir
124cdf0e10cSrcweir        ToolBoxConfig , MenuConfig , AccelConfig;
125cdf0e10cSrcweir	]
126cdf0e10cSrcweir
127cdf0e10cSrcweir	SID_REDO // api:
128cdf0e10cSrcweir	[
129cdf0e10cSrcweir		ExecMethod = ExecUndo ;
130cdf0e10cSrcweir		StateMethod = StateUndo ;
131cdf0e10cSrcweir
132cdf0e10cSrcweir	]
133cdf0e10cSrcweir
134cdf0e10cSrcweir	SID_REPEAT // api:
135cdf0e10cSrcweir	[
136cdf0e10cSrcweir		ExecMethod = ExecUndo ;
137cdf0e10cSrcweir		StateMethod = StateUndo ;
138cdf0e10cSrcweir	]
139cdf0e10cSrcweir	SID_GETUNDOSTRINGS
140cdf0e10cSrcweir	[
141cdf0e10cSrcweir		StateMethod = StateUndo ;
142cdf0e10cSrcweir	]
143cdf0e10cSrcweir
144cdf0e10cSrcweir	SID_GETREDOSTRINGS
145cdf0e10cSrcweir	[
146cdf0e10cSrcweir		StateMethod = StateUndo ;
147cdf0e10cSrcweir	]
148cdf0e10cSrcweir
149cdf0e10cSrcweir	FN_FORMAT_RESET  // api:
150cdf0e10cSrcweir	[
151cdf0e10cSrcweir		ExecMethod = Exec ;
152cdf0e10cSrcweir		StateMethod = NoState ;
153cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
154cdf0e10cSrcweir	]
155cdf0e10cSrcweir
156cdf0e10cSrcweir	FN_FORMAT_FOOTNOTE_DLG // status()
157cdf0e10cSrcweir	[
158cdf0e10cSrcweir		ExecMethod = Exec ;
159cdf0e10cSrcweir	]
160cdf0e10cSrcweir
161cdf0e10cSrcweir    SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
162cdf0e10cSrcweir    [
163cdf0e10cSrcweir        ExecMethod = Exec ;
164cdf0e10cSrcweir    ]
165cdf0e10cSrcweir
166cdf0e10cSrcweir    FN_WORDCOUNT_DIALOG
167cdf0e10cSrcweir    [
168cdf0e10cSrcweir        ExecMethod = Exec;
169cdf0e10cSrcweir    ]
170cdf0e10cSrcweir
171cdf0e10cSrcweir   	FN_NUMBERING_OUTLINE_DLG   // status(final|play)
172cdf0e10cSrcweir	[
173cdf0e10cSrcweir		ExecMethod = Exec ;
174cdf0e10cSrcweir	]
175cdf0e10cSrcweir
176cdf0e10cSrcweir	SID_CHARMAP // api:
177cdf0e10cSrcweir	[
178cdf0e10cSrcweir		ExecMethod = Exec ;
179cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
180cdf0e10cSrcweir	]
181cdf0e10cSrcweir
182*766ce4d0SZheng Fan	SID_ATTR_PARA_LRSPACE
183*766ce4d0SZheng Fan	[
184*766ce4d0SZheng Fan		ExecMethod = Exec;
185*766ce4d0SZheng Fan		StateMethod = GetState ;
186*766ce4d0SZheng Fan	]
187*766ce4d0SZheng Fan
188*766ce4d0SZheng Fan	SID_ATTR_PARA_LINESPACE
189*766ce4d0SZheng Fan	[
190*766ce4d0SZheng Fan		ExecMethod = Exec;
191*766ce4d0SZheng Fan		StateMethod = GetState ;
192*766ce4d0SZheng Fan	]
193*766ce4d0SZheng Fan
194*766ce4d0SZheng Fan	SID_ATTR_PARA_ULSPACE
195*766ce4d0SZheng Fan	[
196*766ce4d0SZheng Fan		ExecMethod = Exec;
197*766ce4d0SZheng Fan		StateMethod = GetState ;
198*766ce4d0SZheng Fan	]
199*766ce4d0SZheng Fan
200cdf0e10cSrcweir	FN_INSERT_STRING
201cdf0e10cSrcweir	[
202cdf0e10cSrcweir			ExecMethod = Exec ;
203cdf0e10cSrcweir			StateMethod = NoState ;
204cdf0e10cSrcweir			DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
205cdf0e10cSrcweir	]
206cdf0e10cSrcweir
207cdf0e10cSrcweir	SID_ATTR_CHAR_FONT // status()
208cdf0e10cSrcweir	[
209cdf0e10cSrcweir		ExecMethod = Exec;
210cdf0e10cSrcweir		StateMethod = GetState ;
211cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
212cdf0e10cSrcweir	]
213cdf0e10cSrcweir
214cdf0e10cSrcweir	SID_ATTR_CHAR_FONTHEIGHT // status()
215cdf0e10cSrcweir	[
216cdf0e10cSrcweir		ExecMethod = Exec;
217cdf0e10cSrcweir		StateMethod = GetState ;
218cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
219cdf0e10cSrcweir	]
220cdf0e10cSrcweir
221cdf0e10cSrcweir	SID_ATTR_CHAR_COLOR // api:
222cdf0e10cSrcweir	[
223cdf0e10cSrcweir		ExecMethod = Exec;
224cdf0e10cSrcweir		StateMethod = GetState ;
225cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
226cdf0e10cSrcweir	]
227eb39ad03SZheng Fan
228eb39ad03SZheng Fan	SID_CHAR_DLG_EFFECT
229eb39ad03SZheng Fan	[
230eb39ad03SZheng Fan		ExecMethod = Exec ;
231eb39ad03SZheng Fan		StateMethod = GetState ;
232eb39ad03SZheng Fan		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
233eb39ad03SZheng Fan	]
234cdf0e10cSrcweir
235cdf0e10cSrcweir	SID_ATTR_CHAR_WEIGHT // api:
236cdf0e10cSrcweir	[
237cdf0e10cSrcweir		ExecMethod = Exec ;
238cdf0e10cSrcweir		StateMethod = GetState ;
239cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
240cdf0e10cSrcweir	]
241cdf0e10cSrcweir
242cdf0e10cSrcweir	SID_ATTR_CHAR_POSTURE // api:
243cdf0e10cSrcweir	[
244cdf0e10cSrcweir		ExecMethod = Exec ;
245cdf0e10cSrcweir		StateMethod = GetState ;
246cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
247cdf0e10cSrcweir	]
248cdf0e10cSrcweir
249cdf0e10cSrcweir	SID_ATTR_CHAR_UNDERLINE // api:
250cdf0e10cSrcweir	[
251cdf0e10cSrcweir		ExecMethod = Exec ;
252cdf0e10cSrcweir		StateMethod = GetState ;
253cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
254cdf0e10cSrcweir	]
255cdf0e10cSrcweir
256cdf0e10cSrcweir	SID_ATTR_CHAR_OVERLINE // api:
257cdf0e10cSrcweir	[
258cdf0e10cSrcweir		ExecMethod = Exec ;
259cdf0e10cSrcweir		StateMethod = GetState ;
260cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
261cdf0e10cSrcweir	]
262cdf0e10cSrcweir
263cdf0e10cSrcweir	SID_ATTR_CHAR_CONTOUR
264cdf0e10cSrcweir	[
265cdf0e10cSrcweir		ExecMethod = Exec;
266cdf0e10cSrcweir		StateMethod = GetState ;
267cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
268cdf0e10cSrcweir	]
269cdf0e10cSrcweir
270cdf0e10cSrcweir	SID_ATTR_CHAR_SHADOWED
271cdf0e10cSrcweir	[
272cdf0e10cSrcweir		ExecMethod = Exec;
273cdf0e10cSrcweir		StateMethod = GetState ;
274cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
275cdf0e10cSrcweir	]
276cdf0e10cSrcweir
277cdf0e10cSrcweir	SID_ATTR_CHAR_STRIKEOUT
278cdf0e10cSrcweir	[
279cdf0e10cSrcweir		ExecMethod = Exec;
280cdf0e10cSrcweir		StateMethod = GetState ;
281cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
282cdf0e10cSrcweir	]
283cdf0e10cSrcweir
284cdf0e10cSrcweir	SID_ATTR_CHAR_LANGUAGE // status(final|play)
285cdf0e10cSrcweir	[
286cdf0e10cSrcweir        ExecMethod = Execute ;
287cdf0e10cSrcweir        StateMethod = GetState ;
288cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
289cdf0e10cSrcweir	]
290cdf0e10cSrcweir
291cdf0e10cSrcweir	SID_ATTR_PARA_ADJUST_LEFT // api:
292cdf0e10cSrcweir	[
293cdf0e10cSrcweir		ExecMethod = Exec ;
294cdf0e10cSrcweir		StateMethod = GetState ;
295cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
296cdf0e10cSrcweir	]
297cdf0e10cSrcweir
298cdf0e10cSrcweir	SID_ATTR_PARA_ADJUST_CENTER // api:
299cdf0e10cSrcweir	[
300cdf0e10cSrcweir		ExecMethod = Exec ;
301cdf0e10cSrcweir		StateMethod = GetState ;
302cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
303cdf0e10cSrcweir	]
304cdf0e10cSrcweir
305cdf0e10cSrcweir	SID_ATTR_PARA_ADJUST_RIGHT // api:
306cdf0e10cSrcweir	[
307cdf0e10cSrcweir		ExecMethod = Exec ;
308cdf0e10cSrcweir		StateMethod = GetState ;
309cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
310cdf0e10cSrcweir	]
311cdf0e10cSrcweir
312cdf0e10cSrcweir	SID_ATTR_PARA_ADJUST_BLOCK // api:
313cdf0e10cSrcweir	[
314cdf0e10cSrcweir		ExecMethod = Exec ;
315cdf0e10cSrcweir		StateMethod = GetState ;
316cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
317cdf0e10cSrcweir	]
318cdf0e10cSrcweir
319cdf0e10cSrcweir	SID_ATTR_PARA_LINESPACE_10 // api:
320cdf0e10cSrcweir	[
321cdf0e10cSrcweir		ExecMethod = Exec ;
322cdf0e10cSrcweir		StateMethod = GetState ;
323cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
324cdf0e10cSrcweir	]
325cdf0e10cSrcweir
326cdf0e10cSrcweir	SID_ATTR_PARA_LINESPACE_15 // api:
327cdf0e10cSrcweir	[
328cdf0e10cSrcweir		ExecMethod = Exec ;
329cdf0e10cSrcweir		StateMethod = GetState ;
330cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
331cdf0e10cSrcweir	]
332cdf0e10cSrcweir
333cdf0e10cSrcweir	SID_ATTR_PARA_LINESPACE_20 // api:
334cdf0e10cSrcweir	[
335cdf0e10cSrcweir		ExecMethod = Exec ;
336cdf0e10cSrcweir		StateMethod = GetState ;
337cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
338cdf0e10cSrcweir	]
339cdf0e10cSrcweir
340cdf0e10cSrcweir	SID_CHAR_DLG  // api:
341cdf0e10cSrcweir	[
342cdf0e10cSrcweir		ExecMethod = Exec ;
343cdf0e10cSrcweir		StateMethod = GetState ;
344cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
345cdf0e10cSrcweir	]
346cdf0e10cSrcweir
347cdf0e10cSrcweir	SID_PARA_DLG // api:
348cdf0e10cSrcweir	[
349cdf0e10cSrcweir		ExecMethod = Exec ;
350cdf0e10cSrcweir		StateMethod = GetState ;
351cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
352cdf0e10cSrcweir	]
353cdf0e10cSrcweir
354cdf0e10cSrcweir	FN_SET_SUPER_SCRIPT
355cdf0e10cSrcweir	[
356cdf0e10cSrcweir		ExecMethod = Exec ;
357cdf0e10cSrcweir		StateMethod = GetState ;
358cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
359cdf0e10cSrcweir	]
360cdf0e10cSrcweir
361cdf0e10cSrcweir	FN_SET_SUB_SCRIPT
362cdf0e10cSrcweir	[
363cdf0e10cSrcweir		ExecMethod = Exec ;
364cdf0e10cSrcweir		StateMethod = GetState ;
365cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
366cdf0e10cSrcweir	]
367cdf0e10cSrcweir
368cdf0e10cSrcweir	SID_SEARCH_ITEM // status()
369cdf0e10cSrcweir	[
370cdf0e10cSrcweir		ExecMethod = ExecSearch ;
371cdf0e10cSrcweir		StateMethod = StateSearch ;
372cdf0e10cSrcweir		Export = FALSE;
373cdf0e10cSrcweir	]
374cdf0e10cSrcweir	FN_REPEAT_SEARCH // status(final|play)
375cdf0e10cSrcweir	[
376cdf0e10cSrcweir		ExecMethod = ExecSearch ;
377cdf0e10cSrcweir	]
378cdf0e10cSrcweir	FID_SEARCH_NOW // status()
379cdf0e10cSrcweir	[
380cdf0e10cSrcweir		ExecMethod = ExecSearch ;
381cdf0e10cSrcweir	]
382cdf0e10cSrcweir	SID_SEARCH_OPTIONS // status()
383cdf0e10cSrcweir	[
384cdf0e10cSrcweir		StateMethod = StateSearch ;
385cdf0e10cSrcweir	]
386cdf0e10cSrcweir	FID_SEARCH_SEARCHSET // status()
387cdf0e10cSrcweir	[
388cdf0e10cSrcweir		ExecMethod = ExecSearch ;
389cdf0e10cSrcweir	]
390cdf0e10cSrcweir	FID_SEARCH_REPLACESET // status()
391cdf0e10cSrcweir	[
392cdf0e10cSrcweir		ExecMethod = ExecSearch ;
393cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
394cdf0e10cSrcweir	]
395cdf0e10cSrcweir	  // ab hier Export = FALSE;
396cdf0e10cSrcweir	FID_SEARCH_ON // status()
397cdf0e10cSrcweir	[
398cdf0e10cSrcweir		ExecMethod = ExecSearch ;
399cdf0e10cSrcweir		Export = FALSE;
400cdf0e10cSrcweir	]
401cdf0e10cSrcweir	FID_SEARCH_OFF // status()
402cdf0e10cSrcweir	[
403cdf0e10cSrcweir		ExecMethod = ExecSearch ;
404cdf0e10cSrcweir		Export = FALSE;
405cdf0e10cSrcweir	]
406cdf0e10cSrcweir}
407