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 BaseTextTable
20{
21
22    FN_FORMAT_TABLE_DLG   // status(final|play)
23    [
24        ExecMethod = Execute ;
25        StateMethod = NoState ;
26    ]
27    SID_ATTR_BRUSH
28    [
29        ExecMethod = Execute ;
30    ]
31    SID_ATTR_BRUSH_ROW
32    [
33        ExecMethod = Execute ;
34    ]
35    SID_ATTR_BRUSH_TABLE
36    [
37        ExecMethod = Execute ;
38    ]
39    FN_NUM_FORMAT_TABLE_DLG   // status(final|play)
40    [
41        ExecMethod = Execute ;
42        StateMethod = NoState ;
43    ]
44
45    FN_CALC_TABLE // status(final|play)
46    [
47        ExecMethod = Execute ;
48        StateMethod = NoState ;
49    ]
50
51    FN_TABLE_AUTOSUM // status()
52    [
53        ExecMethod = Execute ;
54        StateMethod = NoState ;
55    ]
56
57    SID_TABLE_VERT_NONE
58    [
59        ExecMethod = Execute ;
60        StateMethod = GetState ;
61        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
62    ]
63
64    SID_TABLE_VERT_CENTER
65    [
66        ExecMethod = Execute ;
67        StateMethod = GetState ;
68        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
69    ]
70
71    SID_TABLE_VERT_BOTTOM
72    [
73        ExecMethod = Execute ;
74        StateMethod = GetState ;
75        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
76    ]
77
78    FN_TABLE_SET_COL_WIDTH // status( final|play )
79    [
80        ExecMethod = Execute ;
81        StateMethod = NoState ;
82        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
83    ]
84    SID_ATTR_ULSPACE // status(final|play)
85    [
86        ExecMethod = Execute ;
87        StateMethod = GetState ;
88        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
89    ]
90
91    SID_ATTR_LRSPACE // status(final|play)
92    [
93        ExecMethod = Execute ;
94        StateMethod = GetState ;
95        GroupId = SfxGroupId::Table;
96        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
97    ]
98
99    FN_TABLE_DELETE_COL  // status(final|play)
100    [
101        ExecMethod = Execute ;
102        StateMethod = GetState ;
103        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
104    ]
105
106    FN_TABLE_DELETE_ROW  // status(final|play)
107    [
108        ExecMethod = Execute ;
109        StateMethod = GetState ;
110        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
111    ]
112    FN_TABLE_DELETE_TABLE
113    [
114        ExecMethod = Execute ;
115        StateMethod = GetState ;
116        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
117    ]
118    FN_GOTO_NEXT_CELL // status(final|play)
119    [
120        ExecMethod = Execute ;
121        StateMethod = NoState ;
122    ]
123
124    FN_GOTO_PREV_CELL // status(final|play)
125    [
126        ExecMethod = Execute ;
127        StateMethod = NoState ;
128    ]
129    FN_END_TABLE  // status(final|play)
130    [
131        ExecMethod = Execute ;
132        StateMethod = NoState ;
133    ]
134
135    FN_START_TABLE  // status(final|play)
136    [
137        ExecMethod = Execute ;
138        StateMethod = NoState ;
139    ]
140
141    FN_TABLE_INSERT_COL_BEFORE // status(final|play)
142    [
143        ExecMethod = Execute ;
144        StateMethod = NoState ;
145        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
146    ]
147
148    // 2015/06 Deprecated, replaced by INSERT_COL_AFTER
149    FN_TABLE_INSERT_COL // status(final|play)
150    [
151        ExecMethod = Execute ;
152        StateMethod = NoState ;
153        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
154    ]
155
156    FN_TABLE_INSERT_COL_AFTER // status(final|play)
157    [
158        ExecMethod = Execute ;
159        StateMethod = NoState ;
160        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
161    ]
162
163    FN_TABLE_INSERT_COL_DLG  // status(final|play)
164    [
165        ExecMethod = Execute ;
166        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
167    ]
168
169    FN_TABLE_INSERT_ROW_BEFORE // status(final|play)
170    [
171        ExecMethod = Execute ;
172        StateMethod = GetState ;
173        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
174    ]
175
176    FN_TABLE_INSERT_ROW_AFTER // status(final|play)
177    [
178        ExecMethod = Execute ;
179        StateMethod = GetState ;
180        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
181    ]
182
183    // 2015/06 Deprecated, replaced by INSERT_ROW_AFTER
184    FN_TABLE_INSERT_ROW // status(final|play)
185    [
186        ExecMethod = Execute ;
187        StateMethod = GetState ;
188        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
189    ]
190
191    FN_TABLE_INSERT_ROW_DLG  // status(final|play)
192    [
193        ExecMethod = Execute ;
194        StateMethod = GetState ;
195        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
196    ]
197
198    FN_TABLE_MERGE_CELLS  // status(final|play)
199    [
200        ExecMethod = Execute ;
201        StateMethod = GetState ;
202        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
203    ]
204
205    FN_OPTIMIZE_TABLE
206    [
207        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
208        StateMethod = GetState ;
209    ]
210
211    SID_TABLE_MINIMAL_COLUMN_WIDTH  // status()
212    [
213        ExecMethod = Execute ;
214        StateMethod = GetState ;
215        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
216    ]
217
218    FN_TABLE_ADJUST_CELLS  // status(final|play)
219    [
220        ExecMethod = Execute ;
221        StateMethod = GetState ;
222        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
223    ]
224
225    FN_TABLE_BALANCE_CELLS  // status()
226    [
227        ExecMethod = Execute ;
228        StateMethod = GetState ;
229        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
230    ]
231
232    SID_TABLE_MINIMAL_ROW_HEIGHT  // status()
233    [
234        ExecMethod = Execute ;
235        StateMethod = GetState ;
236        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
237    ]
238
239    FN_TABLE_BALANCE_ROWS  // status()
240    [
241        ExecMethod = Execute ;
242        StateMethod = GetState ;
243        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
244    ]
245
246    FN_TABLE_SELECT_ALL // status(final|play)
247    [
248        ExecMethod = Execute ;
249        StateMethod = NoState ;
250    ]
251
252    FN_TABLE_SELECT_COL   // status(final|play)
253    [
254        ExecMethod = Execute ;
255        StateMethod = NoState ;
256    ]
257
258    FN_TABLE_SELECT_ROW  // status(final|play)
259    [
260        ExecMethod = Execute ;
261        StateMethod = NoState ;
262    ]
263    FN_TABLE_SELECT_CELL
264    [
265        ExecMethod = Execute ;
266        StateMethod = NoState ;
267        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
268    ]
269    FN_TABLE_SET_ROW_HEIGHT // status(final|play)
270    [
271        ExecMethod = Execute ;
272        StateMethod = NoState ;
273        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
274    ]
275        FN_TABLE_ROW_SPLIT
276        [
277                ExecMethod = Execute ;
278                StateMethod = GetState ;
279                DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
280        ]
281        FN_TABLE_OPTIMAL_HEIGHT // status(final|play)
282    [
283        ExecMethod = Execute ;
284        StateMethod = GetState ;
285        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
286    ]
287
288    FN_TABLE_SPLIT_CELLS // status(final|play)
289    [
290        ExecMethod = Execute ;
291        StateMethod = NoState ;
292        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
293    ]
294
295    FN_TABLE_SPLIT_TABLE // status(final|play)
296    [
297        ExecMethod = Execute ;
298        StateMethod = GetState ;
299        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
300    ]
301
302    FN_TABLE_MERGE_TABLE // status(final|play)
303    [
304        ExecMethod = Execute ;
305        StateMethod = GetState ;
306        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
307    ]
308
309    FN_TABLE_UNSET_READ_ONLY_CELLS // status()
310    [
311        ExecMethod = Execute ;
312        StateMethod = GetState ;
313    ]
314
315    SID_AUTOFORMAT // status(final|play)
316    [
317        ExecMethod = Execute ;
318        StateMethod = NoState ;
319        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
320    ]
321
322    SID_ATTR_BORDER // status()
323    [
324        ExecMethod = Execute ;
325        StateMethod = GetFrameBorderState ;
326        GroupId = SfxGroupId::Table;
327        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
328    ]
329
330    SID_FRAME_LINESTYLE // status()
331    [
332        ExecMethod = ExecTableStyle ;
333        StateMethod = GetLineStyleState ;
334        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
335    ]
336
337    SID_FRAME_LINECOLOR // status(play)
338    [
339        ExecMethod = ExecTableStyle ;
340        StateMethod = GetLineStyleState ;
341        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
342    ]
343
344    FN_TABLE_MODE_FIX
345    [
346        ExecMethod = Execute;
347        StateMethod = GetState;
348    ]
349
350    FN_TABLE_MODE_FIX_PROP
351    [
352        ExecMethod = Execute;
353        StateMethod = GetState;
354    ]
355
356    FN_TABLE_MODE_VARIABLE
357    [
358        ExecMethod = Execute;
359        StateMethod = GetState;
360    ]
361
362    FN_NUMBER_FORMAT
363    [
364        ExecMethod = ExecNumberFormat;
365        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
366    ]
367
368    FN_NUMBER_STANDARD
369    [
370        ExecMethod = ExecNumberFormat;
371        StateMethod = NoState ;
372        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
373    ]
374    FN_NUMBER_TWODEC
375    [
376        ExecMethod = ExecNumberFormat;
377        StateMethod = NoState ;
378        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
379    ]
380    FN_NUMBER_SCIENTIFIC
381    [
382        ExecMethod = ExecNumberFormat;
383        StateMethod = NoState ;
384        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
385    ]
386    FN_NUMBER_DATE
387    [
388        ExecMethod = ExecNumberFormat;
389        StateMethod = NoState ;
390        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
391    ]
392    FN_NUMBER_TIME
393    [
394        ExecMethod = ExecNumberFormat;
395        StateMethod = NoState ;
396        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
397    ]
398    FN_NUMBER_CURRENCY
399    [
400        ExecMethod = ExecNumberFormat;
401        StateMethod = NoState ;
402        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
403    ]
404    FN_NUMBER_PERCENT
405    [
406        ExecMethod = ExecNumberFormat;
407        StateMethod = NoState ;
408        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
409    ]
410
411    FN_INSERT_TABLE
412    [
413        ExecMethod = Execute ;
414        StateMethod = GetState ;
415        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
416    ]
417    FN_TABLE_HEADLINE_REPEAT
418    [
419        ExecMethod = Execute ;
420        StateMethod = GetState ;
421        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
422    ]
423    FN_TABLE_SELECT_CELL
424    [
425        ExecMethod = Execute ;
426        StateMethod = GetState ;
427        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
428    ]
429    FN_TABLE_DELETE_TABLE
430    [
431        ExecMethod = Execute ;
432        StateMethod = GetState ;
433        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
434    ]
435
436    SID_ATTR_TABLE_ROW_HEIGHT
437    [
438        ExecMethod = Execute ;
439        StateMethod = GetState ;
440        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
441    ]
442
443    SID_ATTR_TABLE_COLUMN_WIDTH
444    [
445        ExecMethod = Execute ;
446        StateMethod = GetState ;
447        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
448    ]
449}
450
451