1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 interface BaseTextTable
34 FN_FORMAT_TABLE_DLG // status(final|play)
36 ExecMethod = Execute ;
37 StateMethod = NoState ;
41 ExecMethod = Execute ;
45 ExecMethod = Execute ;
49 ExecMethod = Execute ;
51 FN_NUM_FORMAT_TABLE_DLG // status(final|play)
53 ExecMethod = Execute ;
54 StateMethod = NoState ;
57 FN_CALC_TABLE // status(final|play)
59 ExecMethod = Execute ;
60 StateMethod = NoState ;
63 FN_TABLE_AUTOSUM // status()
65 ExecMethod = Execute ;
66 StateMethod = NoState ;
72 ExecMethod = Execute ;
73 StateMethod = GetState ;
74 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
79 ExecMethod = Execute ;
80 StateMethod = GetState ;
81 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
86 ExecMethod = Execute ;
87 StateMethod = GetState ;
88 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
90 FN_TABLE_SET_COL_WIDTH // status( final|play )
92 ExecMethod = Execute ;
93 StateMethod = NoState ;
94 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
96 SID_ATTR_ULSPACE // status(final|play)
98 ExecMethod = Execute ;
99 StateMethod = GetState ;
100 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
103 SID_ATTR_LRSPACE // status(final|play)
105 ExecMethod = Execute ;
106 StateMethod = GetState ;
108 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
111 FN_TABLE_DELETE_COL // status(final|play)
113 ExecMethod = Execute ;
114 StateMethod = GetState ;
115 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
118 FN_TABLE_DELETE_ROW // status(final|play)
120 ExecMethod = Execute ;
121 StateMethod = GetState ;
122 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
124 FN_TABLE_DELETE_TABLE
126 ExecMethod = Execute ;
127 StateMethod = GetState ;
128 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
130 FN_GOTO_NEXT_CELL // status(final|play)
132 ExecMethod = Execute ;
133 StateMethod = NoState ;
136 FN_GOTO_PREV_CELL // status(final|play)
138 ExecMethod = Execute ;
139 StateMethod = NoState ;
141 FN_END_TABLE // status(final|play)
143 ExecMethod = Execute ;
144 StateMethod = NoState ;
147 FN_START_TABLE // status(final|play)
149 ExecMethod = Execute ;
150 StateMethod = NoState ;
153 FN_TABLE_INSERT_COL // status(final|play)
155 ExecMethod = Execute ;
156 StateMethod = NoState ;
157 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
160 FN_TABLE_INSERT_COL_DLG // status(final|play)
163 ExecMethod = Execute ;
164 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
167 FN_TABLE_INSERT_ROW // status(final|play)
169 ExecMethod = Execute ;
170 StateMethod = GetState ;
171 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
174 FN_TABLE_INSERT_ROW_DLG // status(final|play)
177 ExecMethod = Execute ;
178 StateMethod = GetState ;
179 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
182 FN_TABLE_MERGE_CELLS // status(final|play)
184 ExecMethod = Execute ;
185 StateMethod = GetState ;
186 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
191 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
192 StateMethod = GetState ;
195 FN_TABLE_ADJUST_CELLS // status(final|play)
197 ExecMethod = Execute ;
198 StateMethod = GetState ;
199 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
202 FN_TABLE_BALANCE_CELLS // status()
204 ExecMethod = Execute ;
205 StateMethod = GetState ;
206 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
209 FN_TABLE_BALANCE_ROWS // status()
211 ExecMethod = Execute ;
212 StateMethod = GetState ;
213 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
216 FN_TABLE_SELECT_ALL // status(final|play)
218 ExecMethod = Execute ;
219 StateMethod = NoState ;
222 FN_TABLE_SELECT_COL // status(final|play)
224 ExecMethod = Execute ;
225 StateMethod = NoState ;
228 FN_TABLE_SELECT_ROW // status(final|play)
230 ExecMethod = Execute ;
231 StateMethod = NoState ;
235 ExecMethod = Execute ;
236 StateMethod = NoState ;
237 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
239 FN_TABLE_SET_ROW_HEIGHT // status(final|play)
241 ExecMethod = Execute ;
242 StateMethod = NoState ;
243 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
247 ExecMethod = Execute ;
248 StateMethod = GetState ;
249 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
251 FN_TABLE_OPTIMAL_HEIGHT // status(final|play)
253 ExecMethod = Execute ;
254 StateMethod = GetState ;
255 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
258 FN_TABLE_SPLIT_CELLS // status(final|play)
260 ExecMethod = Execute ;
261 StateMethod = NoState ;
262 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
265 FN_TABLE_SPLIT_TABLE // status(final|play)
267 ExecMethod = Execute ;
268 StateMethod = GetState ;
269 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
272 FN_TABLE_MERGE_TABLE // status(final|play)
274 ExecMethod = Execute ;
275 StateMethod = GetState ;
276 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
279 FN_TABLE_UNSET_READ_ONLY_CELLS // status()
281 ExecMethod = Execute ;
282 StateMethod = GetState ;
285 SID_AUTOFORMAT // status(final|play)
287 ExecMethod = Execute ;
288 StateMethod = NoState ;
289 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
292 SID_ATTR_BORDER // status()
294 ExecMethod = Execute ;
295 StateMethod = GetFrmBorderState ;
297 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
300 SID_FRAME_LINESTYLE // status()
302 ExecMethod = ExecTableStyle ;
303 StateMethod = GetLineStyleState ;
304 Export = FALSE; //#44439#
305 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
308 SID_FRAME_LINECOLOR // status(play)
310 ExecMethod = ExecTableStyle ;
311 StateMethod = GetLineStyleState ;
312 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
317 ExecMethod = Execute;
318 StateMethod = GetState;
321 FN_TABLE_MODE_FIX_PROP
323 ExecMethod = Execute;
324 StateMethod = GetState;
327 FN_TABLE_MODE_VARIABLE
329 ExecMethod = Execute;
330 StateMethod = GetState;
335 ExecMethod = ExecNumberFormat;
336 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
341 ExecMethod = ExecNumberFormat;
342 StateMethod = NoState ;
343 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
347 ExecMethod = ExecNumberFormat;
348 StateMethod = NoState ;
349 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
353 ExecMethod = ExecNumberFormat;
354 StateMethod = NoState ;
355 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
359 ExecMethod = ExecNumberFormat;
360 StateMethod = NoState ;
361 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
365 ExecMethod = ExecNumberFormat;
366 StateMethod = NoState ;
367 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
371 ExecMethod = ExecNumberFormat;
372 StateMethod = NoState ;
373 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
377 ExecMethod = ExecNumberFormat;
378 StateMethod = NoState ;
379 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
386 ExecMethod = Execute ;
387 StateMethod = GetState ;
388 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
390 FN_TABLE_HEADLINE_REPEAT
392 ExecMethod = Execute ;
393 StateMethod = GetState ;
394 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
398 ExecMethod = Execute ;
399 StateMethod = GetState ;
400 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
402 FN_TABLE_DELETE_TABLE
404 ExecMethod = Execute ;
405 StateMethod = GetState ;
406 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";