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 */
18
19interface BaseTextFrame
20{
21    SID_ATTR_FILL_STYLE
22    [
23        ExecMethod = ExecDrawAttrArgsTextFrame;
24        StateMethod = GetDrawAttrStateTextFrame;
25        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
26    ]
27
28    SID_ATTR_FILL_COLOR
29    [
30        ExecMethod = ExecDrawAttrArgsTextFrame;
31        StateMethod = GetDrawAttrStateTextFrame;
32        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
33    ]
34
35    SID_ATTR_FILL_GRADIENT
36    [
37        ExecMethod = ExecDrawAttrArgsTextFrame;
38        StateMethod = GetDrawAttrStateTextFrame;
39        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
40    ]
41
42    SID_ATTR_FILL_HATCH
43    [
44        ExecMethod = ExecDrawAttrArgsTextFrame;
45        StateMethod = GetDrawAttrStateTextFrame;
46        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
47    ]
48
49    SID_ATTR_FILL_BITMAP
50    [
51        ExecMethod = ExecDrawAttrArgsTextFrame;
52        StateMethod = GetDrawAttrStateTextFrame;
53        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
54    ]
55
56    SID_ATTR_FILL_TRANSPARENCE
57    [
58        ExecMethod = ExecDrawAttrArgsTextFrame;
59        StateMethod = GetDrawAttrStateTextFrame;
60        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
61    ]
62
63    SID_ATTR_FILL_FLOATTRANSPARENCE
64    [
65        ExecMethod = ExecDrawAttrArgsTextFrame;
66        StateMethod = GetDrawAttrStateTextFrame;
67        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
68    ]
69
70    SID_COLOR_TABLE
71    [
72        StateMethod = GetDrawAttrStateTextFrame;
73    ]
74
75    SID_GRADIENT_LIST
76    [
77        StateMethod = GetDrawAttrStateTextFrame;
78    ]
79
80    SID_HATCH_LIST
81    [
82        StateMethod = GetDrawAttrStateTextFrame;
83    ]
84
85    SID_BITMAP_LIST
86    [
87        StateMethod = GetDrawAttrStateTextFrame;
88    ]
89
90    SID_PATTERN_LIST
91    [
92        StateMethod = GetDrawAttrStateTextFrame;
93    ]
94
95    SID_ATTRIBUTES_AREA
96    [
97        ExecMethod = ExecDrawDlgTextFrame;
98        StateMethod = DisableStateTextFrame;
99    ]
100
101
102    FN_FRAME_TO_ANCHOR  // status()
103    [
104        /*OS: data types incompatible?? */
105        ExecMethod = Execute ;
106        StateMethod = NoState ;
107    ]
108
109    FN_FRAME_ALIGN_VERT_CENTER // status(play|final)
110    [
111        ExecMethod = Execute ;
112        StateMethod = GetState ;
113        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
114    ]
115
116    FN_FRAME_ALIGN_VERT_BOTTOM  // status(play|final)
117    [
118        ExecMethod = Execute ;
119        StateMethod = GetState ;
120        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
121    ]
122
123    FN_FRAME_ALIGN_VERT_TOP   // status(play|final)
124    [
125        ExecMethod = Execute ;
126        StateMethod = GetState ;
127        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
128    ]
129
130    FN_FRAME_ALIGN_VERT_ROW_CENTER  // status(play|final)
131    [
132        ExecMethod = Execute ;
133        StateMethod = GetState ;
134        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
135    ]
136
137    FN_FRAME_ALIGN_VERT_ROW_BOTTOM // status(play|final)
138    [
139        ExecMethod = Execute ;
140        StateMethod = GetState ;
141        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
142    ]
143
144    FN_FRAME_ALIGN_VERT_ROW_TOP  // status(play|final)
145    [
146        ExecMethod = Execute ;
147        StateMethod = GetState ;
148        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
149    ]
150
151    FN_FRAME_ALIGN_VERT_CHAR_CENTER // status(play|final)
152    [
153        ExecMethod = Execute ;
154        StateMethod = GetState ;
155        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
156    ]
157
158    FN_FRAME_ALIGN_VERT_CHAR_BOTTOM  // status(play|final)
159    [
160        ExecMethod = Execute ;
161        StateMethod = GetState ;
162        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
163    ]
164
165    FN_FRAME_ALIGN_VERT_CHAR_TOP  // status(play|final)
166    [
167        ExecMethod = Execute ;
168        StateMethod = GetState ;
169        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
170    ]
171
172    FN_FRAME_ALIGN_HORZ_CENTER  // status(play|final)
173    [
174        ExecMethod = Execute ;
175        StateMethod = GetState ;
176        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
177    ]
178
179    FN_FRAME_ALIGN_HORZ_RIGHT // status(play|final)
180    [
181        ExecMethod = Execute ;
182        StateMethod = GetState ;
183        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
184    ]
185
186    FN_FRAME_ALIGN_HORZ_LEFT // status(play|final)
187    [
188        ExecMethod = Execute ;
189        StateMethod = GetState ;
190        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
191    ]
192
193    SID_FRAME_TO_TOP // status(final|play)
194    [
195        ExecMethod = Execute ;
196        StateMethod = GetState ;
197        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
198    ]
199
200    SID_FRAME_TO_BOTTOM  // status(final|play)
201    [
202        ExecMethod = Execute ;
203        StateMethod = GetState ;
204        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
205    ]
206
207    FN_FRAME_UP  // status(final|play)
208    [
209        ExecMethod = Execute ;
210        StateMethod = GetState ;
211        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
212    ]
213
214    FN_FRAME_DOWN // status(final|play)
215    [
216        ExecMethod = Execute ;
217        StateMethod = GetState ;
218        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
219    ]
220
221    SID_ATTR_TRANSFORM
222    [
223        ExecMethod = Execute ;
224        StateMethod = GetState ;
225    ]
226    SID_ATTR_TRANSFORM_WIDTH
227    [
228        StateMethod = GetState ;
229        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
230    ]
231    SID_ATTR_TRANSFORM_HEIGHT
232    [
233        StateMethod = GetState ;
234        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
235    ]
236    SID_ATTR_TRANSFORM_PROTECT_SIZE
237    [
238        StateMethod = GetState ;
239        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
240    ]
241
242    SID_ATTR_ULSPACE // status(final|play)
243    [
244        ExecMethod = Execute ;
245        StateMethod = GetState ;
246        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
247    ]
248
249    SID_ATTR_LRSPACE // status(final|play)
250    [
251        ExecMethod = Execute ;
252        StateMethod = GetState ;
253        GroupId = SfxGroupId::Frame;
254        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
255    ]
256
257    FN_FORMAT_FRAME_DLG   // status(final|play)
258    [
259        ExecMethod = Execute ;
260        StateMethod = GetState ;
261        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
262    ]
263    FN_DRAW_WRAP_DLG // status(final|play)
264    [
265        ExecMethod = Execute ;
266        StateMethod = GetState ;
267        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
268    ]
269
270    SID_FRAME_LINESTYLE // status()
271    [
272        ExecMethod = ExecFrameStyle ;
273        StateMethod = GetLineStyleState ;
274        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
275    ]
276
277    SID_FRAME_LINECOLOR // status(final|play)
278    [
279        ExecMethod = ExecFrameStyle ;
280        StateMethod = GetLineStyleState ;
281        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
282    ]
283    SID_OBJECT_ALIGN_CENTER  // status(play|final)
284    [
285        ExecMethod = Execute ;
286        StateMethod = GetState ;
287        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
288    ]
289
290    SID_OBJECT_ALIGN_RIGHT // status(play|final)
291    [
292        ExecMethod = Execute ;
293        StateMethod = GetState ;
294        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
295    ]
296
297    SID_OBJECT_ALIGN_LEFT // status(play|final)
298    [
299        ExecMethod = Execute ;
300        StateMethod = GetState ;
301        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
302    ]
303
304    SID_OBJECT_ALIGN_UP // status(play|final)
305    [
306        ExecMethod = Execute ;
307        StateMethod = GetState ;
308        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
309    ]
310
311    SID_OBJECT_ALIGN_MIDDLE  // status(play|final)
312    [
313        ExecMethod = Execute ;
314        StateMethod = GetState ;
315        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
316    ]
317
318    SID_OBJECT_ALIGN_DOWN   // status(play|final)
319    [
320        ExecMethod = Execute ;
321        StateMethod = GetState ;
322        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
323    ]
324
325    SID_OBJECT_ALIGN
326    [
327        StateMethod = GetState ;
328        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
329    ]
330
331    FN_FORMAT_FOOTNOTE_DLG // status()
332    [
333        ExecMethod = Execute;
334    ]
335
336    SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
337    [
338        ExecMethod = Execute ;
339    ]
340
341    FN_WORDCOUNT_DIALOG
342    [
343        ExecMethod = Execute;
344    ]
345
346       FN_NUMBERING_OUTLINE_DLG   // status(final|play)
347    [
348        ExecMethod = Execute ;
349    ]
350        // #i73249#
351        FN_TITLE_DESCRIPTION_SHAPE
352        [
353                ExecMethod = Execute ;
354                StateMethod = GetState ;
355                DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
356        ]
357        // tdf#103268
358        FN_NAME_SHAPE
359        [
360                ExecMethod = Execute ;
361                StateMethod = GetState ;
362                DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
363        ]
364
365// Query functions for ImageMaps
366
367    FN_INSERT_FRAME
368    [
369        ExecMethod = Execute ;
370        StateMethod = StateInsert ;
371        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
372    ]
373
374    SID_ATTR_BORDER // status()
375    [
376        ExecMethod = ExecFrameStyle ;
377        StateMethod = GetLineStyleState ;
378        GroupId = SfxGroupId::Frame;
379        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
380    ]
381
382    SID_HYPERLINK_SETLINK  // status()
383    [
384        ExecMethod = Execute ;
385        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
386    ]
387
388    SID_HYPERLINK_GETLINK  // status()
389    [
390        StateMethod = GetState ;
391    ]
392
393    FN_FRAME_MIRROR_ON_EVEN_PAGES // status(final|play|rec)
394    [
395        ExecMethod = Execute ;
396        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
397    ]
398    SID_SELECTALL
399    [
400        ExecMethod = ExecMove ;
401        StateMethod = NoState ;
402    ]
403    FN_POSTIT
404    [
405        ExecMethod = ExecField ;
406        StateMethod = GetState ;
407    ]
408}
409
410