xref: /aoo41x/main/sw/sdi/annotsh.sdi (revision a02241ff)
1*a02241ffSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*a02241ffSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*a02241ffSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*a02241ffSAndrew Rist * distributed with this work for additional information
6*a02241ffSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*a02241ffSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*a02241ffSAndrew Rist * "License"); you may not use this file except in compliance
9*a02241ffSAndrew Rist * with the License.  You may obtain a copy of the License at
10*a02241ffSAndrew Rist *
11*a02241ffSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*a02241ffSAndrew Rist *
13*a02241ffSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*a02241ffSAndrew Rist * software distributed under the License is distributed on an
15*a02241ffSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*a02241ffSAndrew Rist * KIND, either express or implied.  See the License for the
17*a02241ffSAndrew Rist * specific language governing permissions and limitations
18*a02241ffSAndrew Rist * under the License.
19*a02241ffSAndrew Rist *
20*a02241ffSAndrew Rist *************************************************************/
21*a02241ffSAndrew Rist
22*a02241ffSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirinterface Annotation : _Annotation
25cdf0e10cSrcweir[
26cdf0e10cSrcweir	uuid = "CA0C4280-293D-11D1-89CB-008029E4B0B1"
27cdf0e10cSrcweir]
28cdf0e10cSrcweir{
29cdf0e10cSrcweir
30cdf0e10cSrcweir    SID_THESAURUS // api:
31cdf0e10cSrcweir	[
32cdf0e10cSrcweir		ExecMethod = ExecLingu ;
33cdf0e10cSrcweir		StateMethod = GetLinguState ;
34cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
35cdf0e10cSrcweir	]
36cdf0e10cSrcweir
37cdf0e10cSrcweir    SID_HANGUL_HANJA_CONVERSION  // api:
38cdf0e10cSrcweir    [
39cdf0e10cSrcweir        ExecMethod = ExecLingu ;
40cdf0e10cSrcweir        StateMethod = GetLinguState ;
41cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
42cdf0e10cSrcweir    ]
43cdf0e10cSrcweir
44cdf0e10cSrcweir    SID_CHINESE_CONVERSION  // api:
45cdf0e10cSrcweir    [
46cdf0e10cSrcweir        ExecMethod = ExecLingu ;
47cdf0e10cSrcweir        StateMethod = GetLinguState ;
48cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
49cdf0e10cSrcweir    ]
50cdf0e10cSrcweir
51cdf0e10cSrcweir	SID_STYLE_CATALOG  // ole(no) api(play/rec)
52cdf0e10cSrcweir	[
53cdf0e10cSrcweir		StateMethod = StateDisableItems ;
54cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
55cdf0e10cSrcweir	]
56cdf0e10cSrcweir
57cdf0e10cSrcweir	SID_TWAIN_SELECT
58cdf0e10cSrcweir	[
59cdf0e10cSrcweir		StateMethod = StateDisableItems ;
60cdf0e10cSrcweir	]
61cdf0e10cSrcweir
62cdf0e10cSrcweir	SID_TWAIN_TRANSFER
63cdf0e10cSrcweir	[
64cdf0e10cSrcweir		StateMethod = StateDisableItems ;
65cdf0e10cSrcweir	]
66cdf0e10cSrcweir
67cdf0e10cSrcweir	 SID_INSERT_GRAPHIC
68cdf0e10cSrcweir	[
69cdf0e10cSrcweir		StateMethod = StateDisableItems ;
70cdf0e10cSrcweir	]
71cdf0e10cSrcweir
72cdf0e10cSrcweir	SID_AUTOSPELL_CHECK
73cdf0e10cSrcweir	[
74cdf0e10cSrcweir		ExecMethod = Exec;
75cdf0e10cSrcweir		StateMethod = GetState;
76cdf0e10cSrcweir	]
77cdf0e10cSrcweir
78cdf0e10cSrcweir	SID_HYPERLINK_SETLINK  // status()
79cdf0e10cSrcweir	[
80cdf0e10cSrcweir		ExecMethod = Exec ;
81cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
82cdf0e10cSrcweir	]
83cdf0e10cSrcweir	SID_HYPERLINK_GETLINK // status()
84cdf0e10cSrcweir	[
85cdf0e10cSrcweir		StateMethod = StateInsert ;
86cdf0e10cSrcweir	]
87cdf0e10cSrcweir
88cdf0e10cSrcweir    FN_INSERT_SOFT_HYPHEN // status(final|play)
89cdf0e10cSrcweir    [
90cdf0e10cSrcweir        ExecMethod = Exec ;
91cdf0e10cSrcweir        StateMethod = NoState ;
92cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
93cdf0e10cSrcweir    ]
94cdf0e10cSrcweir
95cdf0e10cSrcweir    FN_INSERT_HARDHYPHEN // status()
96cdf0e10cSrcweir    [
97cdf0e10cSrcweir        ExecMethod = Exec ;
98cdf0e10cSrcweir        StateMethod = NoState ;
99cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
100cdf0e10cSrcweir    ]
101cdf0e10cSrcweir
102cdf0e10cSrcweir    FN_INSERT_HARD_SPACE // status(final|play)
103cdf0e10cSrcweir    [
104cdf0e10cSrcweir        ExecMethod = Exec ;
105cdf0e10cSrcweir        StateMethod = NoState ;
106cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
107cdf0e10cSrcweir    ]
108cdf0e10cSrcweir
109cdf0e10cSrcweir    SID_INSERT_RLM
110cdf0e10cSrcweir    [
111cdf0e10cSrcweir        ExecMethod = Exec ;
112cdf0e10cSrcweir        StateMethod = GetState ;
113cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
114cdf0e10cSrcweir    ]
115cdf0e10cSrcweir
116cdf0e10cSrcweir    SID_INSERT_LRM
117cdf0e10cSrcweir    [
118cdf0e10cSrcweir        ExecMethod = Exec ;
119cdf0e10cSrcweir        StateMethod = GetState ;
120cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
121cdf0e10cSrcweir    ]
122cdf0e10cSrcweir
123cdf0e10cSrcweir    SID_INSERT_ZWSP
124cdf0e10cSrcweir    [
125cdf0e10cSrcweir        ExecMethod = Exec ;
126cdf0e10cSrcweir        StateMethod = GetState ;
127cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
128cdf0e10cSrcweir    ]
129cdf0e10cSrcweir
130cdf0e10cSrcweir    SID_INSERT_ZWNBSP
131cdf0e10cSrcweir    [
132cdf0e10cSrcweir        ExecMethod = Exec ;
133cdf0e10cSrcweir        StateMethod = GetState ;
134cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
135cdf0e10cSrcweir    ]
136cdf0e10cSrcweir
137cdf0e10cSrcweir    SID_ATTR_PARA_LEFT_TO_RIGHT
138cdf0e10cSrcweir    [
139cdf0e10cSrcweir        ExecMethod = Exec ;
140cdf0e10cSrcweir        StateMethod = GetState ;
141cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
142cdf0e10cSrcweir    ]
143cdf0e10cSrcweir
144cdf0e10cSrcweir    SID_ATTR_PARA_RIGHT_TO_LEFT
145cdf0e10cSrcweir    [
146cdf0e10cSrcweir        ExecMethod = Exec ;
147cdf0e10cSrcweir        StateMethod = GetState ;
148cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
149cdf0e10cSrcweir    ]
150cdf0e10cSrcweir
151cdf0e10cSrcweir    SID_TEXTDIRECTION_LEFT_TO_RIGHT
152cdf0e10cSrcweir	[
153cdf0e10cSrcweir		ExecMethod = Exec ;
154cdf0e10cSrcweir		StateMethod = GetState ;
155cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
156cdf0e10cSrcweir	]
157cdf0e10cSrcweir
158cdf0e10cSrcweir	SID_TEXTDIRECTION_TOP_TO_BOTTOM
159cdf0e10cSrcweir	[
160cdf0e10cSrcweir		ExecMethod = Exec ;
161cdf0e10cSrcweir		StateMethod = GetState ;
162cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
163cdf0e10cSrcweir	]
164cdf0e10cSrcweir
165cdf0e10cSrcweir	SID_VERTICALTEXT_STATE
166cdf0e10cSrcweir	[
167cdf0e10cSrcweir		StateMethod = GetState ;
168cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
169cdf0e10cSrcweir	]
170cdf0e10cSrcweir
171cdf0e10cSrcweir    SID_CTLFONT_STATE
172cdf0e10cSrcweir    [
173cdf0e10cSrcweir		StateMethod = GetState ;
174cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
175cdf0e10cSrcweir    ]
176cdf0e10cSrcweir
177cdf0e10cSrcweir    SID_TRANSLITERATE_SENTENCE_CASE
178cdf0e10cSrcweir    [
179cdf0e10cSrcweir        ExecMethod = ExecTransliteration;
180cdf0e10cSrcweir        StateMethod = NoState ;
181cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
182cdf0e10cSrcweir    ]
183cdf0e10cSrcweir
184cdf0e10cSrcweir    SID_TRANSLITERATE_TITLE_CASE
185cdf0e10cSrcweir    [
186cdf0e10cSrcweir        ExecMethod = ExecTransliteration;
187cdf0e10cSrcweir        StateMethod = NoState ;
188cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
189cdf0e10cSrcweir    ]
190cdf0e10cSrcweir
191cdf0e10cSrcweir    SID_TRANSLITERATE_TOGGLE_CASE
192cdf0e10cSrcweir    [
193cdf0e10cSrcweir        ExecMethod = ExecTransliteration;
194cdf0e10cSrcweir        StateMethod = NoState ;
195cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
196cdf0e10cSrcweir    ]
197cdf0e10cSrcweir
198cdf0e10cSrcweir	SID_TRANSLITERATE_UPPER
199cdf0e10cSrcweir	[
200cdf0e10cSrcweir		ExecMethod = ExecTransliteration;
201cdf0e10cSrcweir		StateMethod = NoState ;
202cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
203cdf0e10cSrcweir	]
204cdf0e10cSrcweir
205cdf0e10cSrcweir	SID_TRANSLITERATE_LOWER
206cdf0e10cSrcweir	[
207cdf0e10cSrcweir		ExecMethod = ExecTransliteration;
208cdf0e10cSrcweir		StateMethod = NoState ;
209cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
210cdf0e10cSrcweir	]
211cdf0e10cSrcweir
212cdf0e10cSrcweir	SID_TRANSLITERATE_HALFWIDTH
213cdf0e10cSrcweir	[
214cdf0e10cSrcweir		ExecMethod = ExecTransliteration;
215cdf0e10cSrcweir        StateMethod = GetState ;
216cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
217cdf0e10cSrcweir	]
218cdf0e10cSrcweir
219cdf0e10cSrcweir	SID_TRANSLITERATE_FULLWIDTH
220cdf0e10cSrcweir	[
221cdf0e10cSrcweir		ExecMethod = ExecTransliteration;
222cdf0e10cSrcweir        StateMethod = GetState ;
223cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
224cdf0e10cSrcweir	]
225cdf0e10cSrcweir
226cdf0e10cSrcweir	SID_TRANSLITERATE_HIRAGANA
227cdf0e10cSrcweir	[
228cdf0e10cSrcweir		ExecMethod = ExecTransliteration;
229cdf0e10cSrcweir        StateMethod = GetState ;
230cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
231cdf0e10cSrcweir	]
232cdf0e10cSrcweir
233cdf0e10cSrcweir	SID_TRANSLITERATE_KATAGANA
234cdf0e10cSrcweir	[
235cdf0e10cSrcweir		ExecMethod = ExecTransliteration;
236cdf0e10cSrcweir        StateMethod = GetState ;
237cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
238cdf0e10cSrcweir	]
239cdf0e10cSrcweir
240cdf0e10cSrcweir    SID_ATTR_CHAR_WORDLINEMODE // status(final|play)
241cdf0e10cSrcweir	[
242cdf0e10cSrcweir        ExecMethod = Exec ;
243cdf0e10cSrcweir        StateMethod = GetState ;
244cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
245cdf0e10cSrcweir	]
246cdf0e10cSrcweir
247cdf0e10cSrcweir    SID_ATTR_CHAR_RELIEF
248cdf0e10cSrcweir	[
249cdf0e10cSrcweir        ExecMethod = Exec ;
250cdf0e10cSrcweir        StateMethod = GetState ;
251cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
252cdf0e10cSrcweir	]
253cdf0e10cSrcweir
254cdf0e10cSrcweir    SID_ATTR_CHAR_LANGUAGE // status(final|play)
255cdf0e10cSrcweir	[
256cdf0e10cSrcweir        ExecMethod = Exec ;
257cdf0e10cSrcweir        StateMethod = GetState ;
258cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
259cdf0e10cSrcweir	]
260cdf0e10cSrcweir
261cdf0e10cSrcweir    SID_ATTR_CHAR_KERNING // status(final|play)
262cdf0e10cSrcweir	[
263cdf0e10cSrcweir        ExecMethod = Exec ;
264cdf0e10cSrcweir        StateMethod = GetState ;
265cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
266cdf0e10cSrcweir	]
267cdf0e10cSrcweir
268cdf0e10cSrcweir    SID_ATTR_CHAR_AUTOKERN // // status(final|play)
269cdf0e10cSrcweir	[
270cdf0e10cSrcweir        ExecMethod = Exec ;
271cdf0e10cSrcweir        StateMethod = GetState ;
272cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
273cdf0e10cSrcweir	]
274cdf0e10cSrcweir
275cdf0e10cSrcweir	SID_ATTR_CHAR_ESCAPEMENT // status(final|play)
276cdf0e10cSrcweir	[
277cdf0e10cSrcweir        ExecMethod = Exec ;
278cdf0e10cSrcweir        StateMethod = GetState ;
279cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
280cdf0e10cSrcweir	]
281cdf0e10cSrcweir
282cdf0e10cSrcweir    SID_ATTR_CHAR_SCALEWIDTH // status()
283cdf0e10cSrcweir	[
284cdf0e10cSrcweir		ExecMethod = Exec ;
285cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
286cdf0e10cSrcweir	]
287cdf0e10cSrcweir
288cdf0e10cSrcweir	SID_STYLE_FAMILY1
289cdf0e10cSrcweir	[
290cdf0e10cSrcweir		StateMethod = StateDisableItems ;
291cdf0e10cSrcweir	]
292cdf0e10cSrcweir
293cdf0e10cSrcweir	SID_STYLE_FAMILY2
294cdf0e10cSrcweir	[
295cdf0e10cSrcweir		StateMethod = StateDisableItems ;
296cdf0e10cSrcweir	]
297cdf0e10cSrcweir
298cdf0e10cSrcweir	SID_STYLE_FAMILY3
299cdf0e10cSrcweir	[
300cdf0e10cSrcweir		StateMethod = StateDisableItems ;
301cdf0e10cSrcweir	]
302cdf0e10cSrcweir
303cdf0e10cSrcweir	SID_STYLE_FAMILY4
304cdf0e10cSrcweir	[
305cdf0e10cSrcweir		StateMethod = StateDisableItems ;
306cdf0e10cSrcweir	]
307cdf0e10cSrcweir
308cdf0e10cSrcweir	SID_STYLE_FAMILY5
309cdf0e10cSrcweir	[
310cdf0e10cSrcweir		StateMethod = StateDisableItems ;
311cdf0e10cSrcweir	]
312cdf0e10cSrcweir
313cdf0e10cSrcweir	SID_STYLE_WATERCAN // status()
314cdf0e10cSrcweir	[
315cdf0e10cSrcweir		StateMethod = StateDisableItems ;
316cdf0e10cSrcweir	]
317cdf0e10cSrcweir
318cdf0e10cSrcweir	SID_STYLE_UPDATE_BY_EXAMPLE // status()
319cdf0e10cSrcweir	[
320cdf0e10cSrcweir		StateMethod = StateDisableItems ;
321cdf0e10cSrcweir	]
322cdf0e10cSrcweir
323cdf0e10cSrcweir	SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
324cdf0e10cSrcweir	[
325cdf0e10cSrcweir		StateMethod = StateDisableItems ;
326cdf0e10cSrcweir	]
327cdf0e10cSrcweir
328cdf0e10cSrcweir	SID_STYLE_APPLY // status(fina|play)
329cdf0e10cSrcweir	[
330cdf0e10cSrcweir		StateMethod = StateDisableItems ;
331cdf0e10cSrcweir	]
332cdf0e10cSrcweir
333cdf0e10cSrcweir	SID_STYLE_NEW // ole : no, status : ?
334cdf0e10cSrcweir	[
335cdf0e10cSrcweir		StateMethod = StateDisableItems ;
336cdf0e10cSrcweir	]
337cdf0e10cSrcweir
338cdf0e10cSrcweir	SID_STYLE_EDIT // ole : no, status : ?
339cdf0e10cSrcweir	[
340cdf0e10cSrcweir		StateMethod = StateDisableItems ;
341cdf0e10cSrcweir	]
342cdf0e10cSrcweir
343cdf0e10cSrcweir	SID_STYLE_DELETE // ole : no, status : ?
344cdf0e10cSrcweir	[
345cdf0e10cSrcweir		StateMethod = StateDisableItems ;
346cdf0e10cSrcweir	]
347cdf0e10cSrcweir	FN_STAT_SELMODE
348cdf0e10cSrcweir	[
349cdf0e10cSrcweir		StateMethod = StateStatusLine ;
350cdf0e10cSrcweir	]
351cdf0e10cSrcweir
352cdf0e10cSrcweir	FN_STAT_TEMPLATE
353cdf0e10cSrcweir	[
354cdf0e10cSrcweir		StateMethod = StateStatusLine ;
355cdf0e10cSrcweir	]
356cdf0e10cSrcweir
357cdf0e10cSrcweir	SID_LANGUAGE_STATUS
358cdf0e10cSrcweir	[
359cdf0e10cSrcweir		ExecMethod = ExecLingu ;
360cdf0e10cSrcweir		StateMethod = GetLinguState ;
361cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
362cdf0e10cSrcweir	]
363cdf0e10cSrcweir
364cdf0e10cSrcweir    SID_THES
365cdf0e10cSrcweir    [
366cdf0e10cSrcweir        ExecMethod = ExecLingu ;
367cdf0e10cSrcweir        StateMethod = GetLinguState ;
368cdf0e10cSrcweir        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";  // e.g. disable for read-only documents
369cdf0e10cSrcweir    ]
370cdf0e10cSrcweir
371cdf0e10cSrcweir}
372cdf0e10cSrcweir
373cdf0e10cSrcweirshell SwAnnotationShell
374cdf0e10cSrcweir{
375cdf0e10cSrcweir	import Annotation[Automation];
376cdf0e10cSrcweir}
377