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        Export = FALSE ;
166        ExecMethod = Execute ;
167        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
168    ]
169
170    FN_TABLE_INSERT_ROW_BEFORE // status(final|play)
171    [
172        ExecMethod = Execute ;
173        StateMethod = GetState ;
174        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
175    ]
176
177    FN_TABLE_INSERT_ROW_AFTER // status(final|play)
178    [
179        ExecMethod = Execute ;
180        StateMethod = GetState ;
181        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
182    ]
183
184    // 2015/06 Deprecated, replaced by INSERT_ROW_AFTER
185    FN_TABLE_INSERT_ROW // status(final|play)
186    [
187        ExecMethod = Execute ;
188        StateMethod = GetState ;
189        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
190    ]
191
192    FN_TABLE_INSERT_ROW_DLG  // status(final|play)
193    [
194        Export = FALSE ;
195        ExecMethod = Execute ;
196        StateMethod = GetState ;
197        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
198    ]
199
200    FN_TABLE_MERGE_CELLS  // status(final|play)
201    [
202        ExecMethod = Execute ;
203        StateMethod = GetState ;
204        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
205    ]
206
207    FN_OPTIMIZE_TABLE
208    [
209        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
210        StateMethod = GetState ;
211    ]
212
213    SID_TABLE_MINIMAL_COLUMN_WIDTH  // status()
214    [
215        ExecMethod = Execute ;
216        StateMethod = GetState ;
217        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
218    ]
219
220    FN_TABLE_ADJUST_CELLS  // status(final|play)
221    [
222        ExecMethod = Execute ;
223        StateMethod = GetState ;
224        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
225    ]
226
227    FN_TABLE_BALANCE_CELLS  // status()
228    [
229        ExecMethod = Execute ;
230        StateMethod = GetState ;
231        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
232    ]
233
234    SID_TABLE_MINIMAL_ROW_HEIGHT  // status()
235    [
236        ExecMethod = Execute ;
237        StateMethod = GetState ;
238        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
239    ]
240
241    FN_TABLE_BALANCE_ROWS  // status()
242    [
243        ExecMethod = Execute ;
244        StateMethod = GetState ;
245        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
246    ]
247
248    FN_TABLE_SELECT_ALL // status(final|play)
249    [
250        ExecMethod = Execute ;
251        StateMethod = NoState ;
252    ]
253
254    FN_TABLE_SELECT_COL   // status(final|play)
255    [
256        ExecMethod = Execute ;
257        StateMethod = NoState ;
258    ]
259
260    FN_TABLE_SELECT_ROW  // status(final|play)
261    [
262        ExecMethod = Execute ;
263        StateMethod = NoState ;
264    ]
265    FN_TABLE_SELECT_CELL
266    [
267        ExecMethod = Execute ;
268        StateMethod = NoState ;
269        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
270    ]
271    FN_TABLE_SET_ROW_HEIGHT // status(final|play)
272    [
273        ExecMethod = Execute ;
274        StateMethod = NoState ;
275        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
276    ]
277        FN_TABLE_ROW_SPLIT
278        [
279                ExecMethod = Execute ;
280                StateMethod = GetState ;
281                DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
282        ]
283        FN_TABLE_OPTIMAL_HEIGHT // status(final|play)
284    [
285        ExecMethod = Execute ;
286        StateMethod = GetState ;
287        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
288    ]
289
290    FN_TABLE_SPLIT_CELLS // status(final|play)
291    [
292        ExecMethod = Execute ;
293        StateMethod = NoState ;
294        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
295    ]
296
297    FN_TABLE_SPLIT_TABLE // status(final|play)
298    [
299        ExecMethod = Execute ;
300        StateMethod = GetState ;
301        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
302    ]
303
304    FN_TABLE_MERGE_TABLE // status(final|play)
305    [
306        ExecMethod = Execute ;
307        StateMethod = GetState ;
308        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
309    ]
310
311    FN_TABLE_UNSET_READ_ONLY_CELLS // status()
312    [
313        ExecMethod = Execute ;
314        StateMethod = GetState ;
315    ]
316
317    SID_AUTOFORMAT // status(final|play)
318    [
319        ExecMethod = Execute ;
320        StateMethod = NoState ;
321        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
322    ]
323
324    SID_ATTR_BORDER // status()
325    [
326        ExecMethod = Execute ;
327        StateMethod = GetFrameBorderState ;
328        GroupId = SfxGroupId::Table;
329        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
330    ]
331
332    SID_FRAME_LINESTYLE // status()
333    [
334        ExecMethod = ExecTableStyle ;
335        StateMethod = GetLineStyleState ;
336        Export = FALSE;
337        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
338    ]
339
340    SID_FRAME_LINECOLOR // status(play)
341    [
342        ExecMethod = ExecTableStyle ;
343        StateMethod = GetLineStyleState ;
344        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
345    ]
346
347    FN_TABLE_MODE_FIX
348    [
349        ExecMethod = Execute;
350        StateMethod = GetState;
351    ]
352
353    FN_TABLE_MODE_FIX_PROP
354    [
355        ExecMethod = Execute;
356        StateMethod = GetState;
357    ]
358
359    FN_TABLE_MODE_VARIABLE
360    [
361        ExecMethod = Execute;
362        StateMethod = GetState;
363    ]
364
365    FN_NUMBER_FORMAT
366    [
367        ExecMethod = ExecNumberFormat;
368        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
369    ]
370
371    FN_NUMBER_STANDARD
372    [
373        ExecMethod = ExecNumberFormat;
374        StateMethod = NoState ;
375        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
376    ]
377    FN_NUMBER_TWODEC
378    [
379        ExecMethod = ExecNumberFormat;
380        StateMethod = NoState ;
381        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
382    ]
383    FN_NUMBER_SCIENTIFIC
384    [
385        ExecMethod = ExecNumberFormat;
386        StateMethod = NoState ;
387        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
388    ]
389    FN_NUMBER_DATE
390    [
391        ExecMethod = ExecNumberFormat;
392        StateMethod = NoState ;
393        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
394    ]
395    FN_NUMBER_TIME
396    [
397        ExecMethod = ExecNumberFormat;
398        StateMethod = NoState ;
399        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
400    ]
401    FN_NUMBER_CURRENCY
402    [
403        ExecMethod = ExecNumberFormat;
404        StateMethod = NoState ;
405        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
406    ]
407    FN_NUMBER_PERCENT
408    [
409        ExecMethod = ExecNumberFormat;
410        StateMethod = NoState ;
411        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
412    ]
413// Slots without export
414
415    FN_INSERT_TABLE
416    [
417        Export = FALSE ;
418        ExecMethod = Execute ;
419        StateMethod = GetState ;
420        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
421    ]
422    FN_TABLE_HEADLINE_REPEAT
423    [
424        ExecMethod = Execute ;
425        StateMethod = GetState ;
426        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
427    ]
428    FN_TABLE_SELECT_CELL
429    [
430        ExecMethod = Execute ;
431        StateMethod = GetState ;
432        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
433    ]
434    FN_TABLE_DELETE_TABLE
435    [
436        ExecMethod = Execute ;
437        StateMethod = GetState ;
438        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
439    ]
440
441    SID_ATTR_TABLE_ROW_HEIGHT
442    [
443        ExecMethod = Execute ;
444        StateMethod = GetState ;
445        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
446    ]
447
448    SID_ATTR_TABLE_COLUMN_WIDTH
449    [
450        ExecMethod = Execute ;
451        StateMethod = GetState ;
452        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
453    ]
454}
455
456