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 = GetState ;
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 = GetState ;
160 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
163 FN_TABLE_INSERT_COL_DLG // status(final|play)
165 ExecMethod = Execute ;
166 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
169 FN_TABLE_INSERT_ROW_BEFORE // status(final|play)
171 ExecMethod = Execute ;
172 StateMethod = GetState ;
173 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
176 FN_TABLE_INSERT_ROW_AFTER // status(final|play)
178 ExecMethod = Execute ;
179 StateMethod = GetState ;
180 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
183 // 2015/06 Deprecated, replaced by INSERT_ROW_AFTER
184 FN_TABLE_INSERT_ROW // status(final|play)
186 ExecMethod = Execute ;
187 StateMethod = GetState ;
188 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
191 FN_TABLE_INSERT_ROW_DLG // status(final|play)
193 ExecMethod = Execute ;
194 StateMethod = GetState ;
195 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
198 FN_TABLE_MERGE_CELLS // status(final|play)
200 ExecMethod = Execute ;
201 StateMethod = GetState ;
202 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
207 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
208 StateMethod = GetState ;
211 SID_TABLE_MINIMAL_COLUMN_WIDTH // status()
213 ExecMethod = Execute ;
214 StateMethod = GetState ;
215 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
218 FN_TABLE_ADJUST_CELLS // status(final|play)
220 ExecMethod = Execute ;
221 StateMethod = GetState ;
222 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
225 FN_TABLE_BALANCE_CELLS // status()
227 ExecMethod = Execute ;
228 StateMethod = GetState ;
229 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
232 SID_TABLE_MINIMAL_ROW_HEIGHT // status()
234 ExecMethod = Execute ;
235 StateMethod = GetState ;
236 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
239 FN_TABLE_BALANCE_ROWS // status()
241 ExecMethod = Execute ;
242 StateMethod = GetState ;
243 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
246 FN_TABLE_SELECT_ALL // status(final|play)
248 ExecMethod = Execute ;
249 StateMethod = NoState ;
252 FN_TABLE_SELECT_COL // status(final|play)
254 ExecMethod = Execute ;
255 StateMethod = NoState ;
258 FN_TABLE_SELECT_ROW // status(final|play)
260 ExecMethod = Execute ;
261 StateMethod = NoState ;
265 ExecMethod = Execute ;
266 StateMethod = NoState ;
267 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
269 FN_TABLE_SET_ROW_HEIGHT // status(final|play)
271 ExecMethod = Execute ;
272 StateMethod = NoState ;
273 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
277 ExecMethod = Execute ;
278 StateMethod = GetState ;
279 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
281 FN_TABLE_OPTIMAL_HEIGHT // status(final|play)
283 ExecMethod = Execute ;
284 StateMethod = GetState ;
285 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
288 FN_TABLE_SPLIT_CELLS // status(final|play)
290 ExecMethod = Execute ;
291 StateMethod = NoState ;
292 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
295 FN_TABLE_SPLIT_TABLE // status(final|play)
297 ExecMethod = Execute ;
298 StateMethod = GetState ;
299 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
302 FN_TABLE_MERGE_TABLE // status(final|play)
304 ExecMethod = Execute ;
305 StateMethod = GetState ;
306 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
309 FN_TABLE_UNSET_READ_ONLY_CELLS // status()
311 ExecMethod = Execute ;
312 StateMethod = GetState ;
315 SID_AUTOFORMAT // status(final|play)
317 ExecMethod = Execute ;
318 StateMethod = NoState ;
319 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
322 SID_ATTR_BORDER // status()
324 ExecMethod = Execute ;
325 StateMethod = GetFrameBorderState ;
326 GroupId = SfxGroupId::Table;
327 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
330 SID_FRAME_LINESTYLE // status()
332 ExecMethod = ExecTableStyle ;
333 StateMethod = GetLineStyleState ;
334 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
337 SID_FRAME_LINECOLOR // status(play)
339 ExecMethod = ExecTableStyle ;
340 StateMethod = GetLineStyleState ;
341 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
346 ExecMethod = Execute;
347 StateMethod = GetState;
350 FN_TABLE_MODE_FIX_PROP
352 ExecMethod = Execute;
353 StateMethod = GetState;
356 FN_TABLE_MODE_VARIABLE
358 ExecMethod = Execute;
359 StateMethod = GetState;
364 ExecMethod = ExecNumberFormat;
365 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
370 ExecMethod = ExecNumberFormat;
371 StateMethod = NoState ;
372 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
376 ExecMethod = ExecNumberFormat;
377 StateMethod = NoState ;
378 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
382 ExecMethod = ExecNumberFormat;
383 StateMethod = NoState ;
384 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
388 ExecMethod = ExecNumberFormat;
389 StateMethod = NoState ;
390 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
394 ExecMethod = ExecNumberFormat;
395 StateMethod = NoState ;
396 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
400 ExecMethod = ExecNumberFormat;
401 StateMethod = NoState ;
402 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
406 ExecMethod = ExecNumberFormat;
407 StateMethod = NoState ;
408 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
413 ExecMethod = Execute ;
414 StateMethod = GetState ;
415 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
417 FN_TABLE_HEADLINE_REPEAT
419 ExecMethod = Execute ;
420 StateMethod = GetState ;
421 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
425 ExecMethod = Execute ;
426 StateMethod = GetState ;
427 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
429 FN_TABLE_DELETE_TABLE
431 ExecMethod = Execute ;
432 StateMethod = GetState ;
433 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
436 SID_ATTR_TABLE_ROW_HEIGHT
438 ExecMethod = Execute ;
439 StateMethod = GetState ;
440 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
443 SID_ATTR_TABLE_COLUMN_WIDTH
445 ExecMethod = Execute ;
446 StateMethod = GetState ;
447 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
450 SID_ATTR_TABLE_ALIGNMENT
452 ExecMethod = Execute ;
453 StateMethod = GetState ;
454 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
457 SID_ATTR_TABLE_LEFT_SPACE
459 StateMethod = GetState ;
460 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
463 SID_ATTR_TABLE_RIGHT_SPACE
465 StateMethod = GetState ;
466 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";