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