2 * This file is part of the LibreOffice project.
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/.
8 * This file incorporates work covered by the following license notice:
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 .
19 interface BaseTextTable
22 FN_FORMAT_TABLE_DLG // status(final|play)
24 ExecMethod = Execute ;
25 StateMethod = NoState ;
29 ExecMethod = Execute ;
33 ExecMethod = Execute ;
37 ExecMethod = Execute ;
39 FN_NUM_FORMAT_TABLE_DLG // status(final|play)
41 ExecMethod = Execute ;
42 StateMethod = NoState ;
45 FN_CALC_TABLE // status(final|play)
47 ExecMethod = Execute ;
48 StateMethod = NoState ;
51 FN_TABLE_AUTOSUM // status()
53 ExecMethod = Execute ;
54 StateMethod = NoState ;
59 ExecMethod = Execute ;
60 StateMethod = GetState ;
61 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
66 ExecMethod = Execute ;
67 StateMethod = GetState ;
68 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
73 ExecMethod = Execute ;
74 StateMethod = GetState ;
75 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
78 FN_TABLE_SET_COL_WIDTH // status( final|play )
80 ExecMethod = Execute ;
81 StateMethod = NoState ;
82 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
84 SID_ATTR_ULSPACE // status(final|play)
86 ExecMethod = Execute ;
87 StateMethod = GetState ;
88 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
91 SID_ATTR_LRSPACE // status(final|play)
93 ExecMethod = Execute ;
94 StateMethod = GetState ;
95 GroupId = SfxGroupId::Table;
96 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
99 FN_TABLE_DELETE_COL // status(final|play)
101 ExecMethod = Execute ;
102 StateMethod = GetState ;
103 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
106 FN_TABLE_DELETE_ROW // status(final|play)
108 ExecMethod = Execute ;
109 StateMethod = GetState ;
110 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
112 FN_TABLE_DELETE_TABLE
114 ExecMethod = Execute ;
115 StateMethod = GetState ;
116 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
118 FN_GOTO_NEXT_CELL // status(final|play)
120 ExecMethod = Execute ;
121 StateMethod = NoState ;
124 FN_GOTO_PREV_CELL // status(final|play)
126 ExecMethod = Execute ;
127 StateMethod = NoState ;
129 FN_END_TABLE // status(final|play)
131 ExecMethod = Execute ;
132 StateMethod = NoState ;
135 FN_START_TABLE // status(final|play)
137 ExecMethod = Execute ;
138 StateMethod = NoState ;
141 FN_TABLE_INSERT_COL_BEFORE // status(final|play)
143 ExecMethod = Execute ;
144 StateMethod = NoState ;
145 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
148 // 2015/06 Deprecated, replaced by INSERT_COL_AFTER
149 FN_TABLE_INSERT_COL // status(final|play)
151 ExecMethod = Execute ;
152 StateMethod = NoState ;
153 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
156 FN_TABLE_INSERT_COL_AFTER // status(final|play)
158 ExecMethod = Execute ;
159 StateMethod = NoState ;
160 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
163 FN_TABLE_INSERT_COL_DLG // status(final|play)
166 ExecMethod = Execute ;
167 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
170 FN_TABLE_INSERT_ROW_BEFORE // status(final|play)
172 ExecMethod = Execute ;
173 StateMethod = GetState ;
174 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
177 FN_TABLE_INSERT_ROW_AFTER // status(final|play)
179 ExecMethod = Execute ;
180 StateMethod = GetState ;
181 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
184 // 2015/06 Deprecated, replaced by INSERT_ROW_AFTER
185 FN_TABLE_INSERT_ROW // status(final|play)
187 ExecMethod = Execute ;
188 StateMethod = GetState ;
189 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
192 FN_TABLE_INSERT_ROW_DLG // status(final|play)
195 ExecMethod = Execute ;
196 StateMethod = GetState ;
197 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
200 FN_TABLE_MERGE_CELLS // status(final|play)
202 ExecMethod = Execute ;
203 StateMethod = GetState ;
204 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
209 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
210 StateMethod = GetState ;
213 SID_TABLE_MINIMAL_COLUMN_WIDTH // status()
215 ExecMethod = Execute ;
216 StateMethod = GetState ;
217 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
220 FN_TABLE_ADJUST_CELLS // status(final|play)
222 ExecMethod = Execute ;
223 StateMethod = GetState ;
224 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
227 FN_TABLE_BALANCE_CELLS // status()
229 ExecMethod = Execute ;
230 StateMethod = GetState ;
231 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
234 SID_TABLE_MINIMAL_ROW_HEIGHT // status()
236 ExecMethod = Execute ;
237 StateMethod = GetState ;
238 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
241 FN_TABLE_BALANCE_ROWS // status()
243 ExecMethod = Execute ;
244 StateMethod = GetState ;
245 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
248 FN_TABLE_SELECT_ALL // status(final|play)
250 ExecMethod = Execute ;
251 StateMethod = NoState ;
254 FN_TABLE_SELECT_COL // status(final|play)
256 ExecMethod = Execute ;
257 StateMethod = NoState ;
260 FN_TABLE_SELECT_ROW // status(final|play)
262 ExecMethod = Execute ;
263 StateMethod = NoState ;
267 ExecMethod = Execute ;
268 StateMethod = NoState ;
269 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
271 FN_TABLE_SET_ROW_HEIGHT // status(final|play)
273 ExecMethod = Execute ;
274 StateMethod = NoState ;
275 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
279 ExecMethod = Execute ;
280 StateMethod = GetState ;
281 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
283 FN_TABLE_OPTIMAL_HEIGHT // status(final|play)
285 ExecMethod = Execute ;
286 StateMethod = GetState ;
287 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
290 FN_TABLE_SPLIT_CELLS // status(final|play)
292 ExecMethod = Execute ;
293 StateMethod = NoState ;
294 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
297 FN_TABLE_SPLIT_TABLE // status(final|play)
299 ExecMethod = Execute ;
300 StateMethod = GetState ;
301 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
304 FN_TABLE_MERGE_TABLE // status(final|play)
306 ExecMethod = Execute ;
307 StateMethod = GetState ;
308 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
311 FN_TABLE_UNSET_READ_ONLY_CELLS // status()
313 ExecMethod = Execute ;
314 StateMethod = GetState ;
317 SID_AUTOFORMAT // status(final|play)
319 ExecMethod = Execute ;
320 StateMethod = NoState ;
321 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
324 SID_ATTR_BORDER // status()
326 ExecMethod = Execute ;
327 StateMethod = GetFrameBorderState ;
328 GroupId = SfxGroupId::Table;
329 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
332 SID_FRAME_LINESTYLE // status()
334 ExecMethod = ExecTableStyle ;
335 StateMethod = GetLineStyleState ;
337 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
340 SID_FRAME_LINECOLOR // status(play)
342 ExecMethod = ExecTableStyle ;
343 StateMethod = GetLineStyleState ;
344 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
349 ExecMethod = Execute;
350 StateMethod = GetState;
353 FN_TABLE_MODE_FIX_PROP
355 ExecMethod = Execute;
356 StateMethod = GetState;
359 FN_TABLE_MODE_VARIABLE
361 ExecMethod = Execute;
362 StateMethod = GetState;
367 ExecMethod = ExecNumberFormat;
368 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
373 ExecMethod = ExecNumberFormat;
374 StateMethod = NoState ;
375 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
379 ExecMethod = ExecNumberFormat;
380 StateMethod = NoState ;
381 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
385 ExecMethod = ExecNumberFormat;
386 StateMethod = NoState ;
387 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
391 ExecMethod = ExecNumberFormat;
392 StateMethod = NoState ;
393 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
397 ExecMethod = ExecNumberFormat;
398 StateMethod = NoState ;
399 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
403 ExecMethod = ExecNumberFormat;
404 StateMethod = NoState ;
405 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
409 ExecMethod = ExecNumberFormat;
410 StateMethod = NoState ;
411 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
413 // Slots without export
418 ExecMethod = Execute ;
419 StateMethod = GetState ;
420 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
422 FN_TABLE_HEADLINE_REPEAT
424 ExecMethod = Execute ;
425 StateMethod = GetState ;
426 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
430 ExecMethod = Execute ;
431 StateMethod = GetState ;
432 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
434 FN_TABLE_DELETE_TABLE
436 ExecMethod = Execute ;
437 StateMethod = GetState ;
438 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
441 SID_ATTR_TABLE_ROW_HEIGHT
443 ExecMethod = Execute ;
444 StateMethod = GetState ;
445 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
448 SID_ATTR_TABLE_COLUMN_WIDTH
450 ExecMethod = Execute ;
451 StateMethod = GetState ;
452 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";