1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: _tabsh.sdi,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 interface BaseTextTable
37 FN_FORMAT_TABLE_DLG // status(final|play)
39 ExecMethod = Execute ;
40 StateMethod = NoState ;
44 ExecMethod = Execute ;
48 ExecMethod = Execute ;
52 ExecMethod = Execute ;
54 FN_NUM_FORMAT_TABLE_DLG // status(final|play)
56 ExecMethod = Execute ;
57 StateMethod = NoState ;
60 FN_CALC_TABLE // status(final|play)
62 ExecMethod = Execute ;
63 StateMethod = NoState ;
66 FN_TABLE_AUTOSUM // status()
68 ExecMethod = Execute ;
69 StateMethod = NoState ;
75 ExecMethod = Execute ;
76 StateMethod = GetState ;
77 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
82 ExecMethod = Execute ;
83 StateMethod = GetState ;
84 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
89 ExecMethod = Execute ;
90 StateMethod = GetState ;
91 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
93 FN_TABLE_SET_COL_WIDTH // status( final|play )
95 ExecMethod = Execute ;
96 StateMethod = NoState ;
97 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
99 SID_ATTR_ULSPACE // status(final|play)
101 ExecMethod = Execute ;
102 StateMethod = GetState ;
103 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
106 SID_ATTR_LRSPACE // status(final|play)
108 ExecMethod = Execute ;
109 StateMethod = GetState ;
111 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
114 FN_TABLE_DELETE_COL // status(final|play)
116 ExecMethod = Execute ;
117 StateMethod = GetState ;
118 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
121 FN_TABLE_DELETE_ROW // status(final|play)
123 ExecMethod = Execute ;
124 StateMethod = GetState ;
125 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
127 FN_TABLE_DELETE_TABLE
129 ExecMethod = Execute ;
130 StateMethod = GetState ;
131 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
133 FN_GOTO_NEXT_CELL // status(final|play)
135 ExecMethod = Execute ;
136 StateMethod = NoState ;
139 FN_GOTO_PREV_CELL // status(final|play)
141 ExecMethod = Execute ;
142 StateMethod = NoState ;
144 FN_END_TABLE // status(final|play)
146 ExecMethod = Execute ;
147 StateMethod = NoState ;
150 FN_START_TABLE // status(final|play)
152 ExecMethod = Execute ;
153 StateMethod = NoState ;
156 FN_TABLE_INSERT_COL // status(final|play)
158 ExecMethod = Execute ;
159 StateMethod = NoState ;
160 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
163 FN_TABLE_INSERT_COL_DLG // status(final|play)
166 ExecMethod = Execute ;
167 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
170 FN_TABLE_INSERT_ROW // status(final|play)
172 ExecMethod = Execute ;
173 StateMethod = GetState ;
174 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
177 FN_TABLE_INSERT_ROW_DLG // status(final|play)
180 ExecMethod = Execute ;
181 StateMethod = GetState ;
182 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
185 FN_TABLE_MERGE_CELLS // status(final|play)
187 ExecMethod = Execute ;
188 StateMethod = GetState ;
189 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
194 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
195 StateMethod = GetState ;
198 FN_TABLE_ADJUST_CELLS // status(final|play)
200 ExecMethod = Execute ;
201 StateMethod = GetState ;
202 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
205 FN_TABLE_BALANCE_CELLS // status()
207 ExecMethod = Execute ;
208 StateMethod = GetState ;
209 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
212 FN_TABLE_BALANCE_ROWS // status()
214 ExecMethod = Execute ;
215 StateMethod = GetState ;
216 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
219 FN_TABLE_SELECT_ALL // status(final|play)
221 ExecMethod = Execute ;
222 StateMethod = NoState ;
225 FN_TABLE_SELECT_COL // status(final|play)
227 ExecMethod = Execute ;
228 StateMethod = NoState ;
231 FN_TABLE_SELECT_ROW // status(final|play)
233 ExecMethod = Execute ;
234 StateMethod = NoState ;
238 ExecMethod = Execute ;
239 StateMethod = NoState ;
240 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
242 FN_TABLE_SET_ROW_HEIGHT // status(final|play)
244 ExecMethod = Execute ;
245 StateMethod = NoState ;
246 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
250 ExecMethod = Execute ;
251 StateMethod = GetState ;
252 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
254 FN_TABLE_OPTIMAL_HEIGHT // status(final|play)
256 ExecMethod = Execute ;
257 StateMethod = GetState ;
258 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
261 FN_TABLE_SPLIT_CELLS // status(final|play)
263 ExecMethod = Execute ;
264 StateMethod = NoState ;
265 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
268 FN_TABLE_SPLIT_TABLE // status(final|play)
270 ExecMethod = Execute ;
271 StateMethod = GetState ;
272 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
275 FN_TABLE_MERGE_TABLE // status(final|play)
277 ExecMethod = Execute ;
278 StateMethod = GetState ;
279 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
282 FN_TABLE_UNSET_READ_ONLY_CELLS // status()
284 ExecMethod = Execute ;
285 StateMethod = GetState ;
288 SID_AUTOFORMAT // status(final|play)
290 ExecMethod = Execute ;
291 StateMethod = NoState ;
292 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
295 SID_ATTR_BORDER // status()
297 ExecMethod = Execute ;
298 StateMethod = GetFrmBorderState ;
300 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
303 SID_FRAME_LINESTYLE // status()
305 ExecMethod = ExecTableStyle ;
306 StateMethod = GetLineStyleState ;
307 Export = FALSE; //#44439#
308 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
311 SID_FRAME_LINECOLOR // status(play)
313 ExecMethod = ExecTableStyle ;
314 StateMethod = GetLineStyleState ;
315 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
320 ExecMethod = Execute;
321 StateMethod = GetState;
324 FN_TABLE_MODE_FIX_PROP
326 ExecMethod = Execute;
327 StateMethod = GetState;
330 FN_TABLE_MODE_VARIABLE
332 ExecMethod = Execute;
333 StateMethod = GetState;
338 ExecMethod = ExecNumberFormat;
339 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
344 ExecMethod = ExecNumberFormat;
345 StateMethod = NoState ;
346 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
350 ExecMethod = ExecNumberFormat;
351 StateMethod = NoState ;
352 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
356 ExecMethod = ExecNumberFormat;
357 StateMethod = NoState ;
358 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
362 ExecMethod = ExecNumberFormat;
363 StateMethod = NoState ;
364 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
368 ExecMethod = ExecNumberFormat;
369 StateMethod = NoState ;
370 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
374 ExecMethod = ExecNumberFormat;
375 StateMethod = NoState ;
376 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
380 ExecMethod = ExecNumberFormat;
381 StateMethod = NoState ;
382 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
389 ExecMethod = Execute ;
390 StateMethod = GetState ;
391 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
393 FN_TABLE_HEADLINE_REPEAT
395 ExecMethod = Execute ;
396 StateMethod = GetState ;
397 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
401 ExecMethod = Execute ;
402 StateMethod = GetState ;
403 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
405 FN_TABLE_DELETE_TABLE
407 ExecMethod = Execute ;
408 StateMethod = GetState ;
409 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";