xref: /trunk/main/sw/sdi/_tabsh.sdi (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28interface BaseTextTable
29[
30	Automation = FALSE;
31]
32{
33
34	FN_FORMAT_TABLE_DLG   // status(final|play)
35	[
36		ExecMethod = Execute ;
37		StateMethod = NoState ;
38	]
39    SID_ATTR_BRUSH
40    [
41        ExecMethod = Execute ;
42    ]
43    SID_ATTR_BRUSH_ROW
44    [
45        ExecMethod = Execute ;
46    ]
47    SID_ATTR_BRUSH_TABLE
48    [
49        ExecMethod = Execute ;
50    ]
51    FN_NUM_FORMAT_TABLE_DLG   // status(final|play)
52	[
53		ExecMethod = Execute ;
54		StateMethod = NoState ;
55	]
56
57	FN_CALC_TABLE // status(final|play)
58	[
59		ExecMethod = Execute ;
60		StateMethod = NoState ;
61	]
62
63	FN_TABLE_AUTOSUM // status()
64	[
65		ExecMethod = Execute ;
66		StateMethod = NoState ;
67	]
68
69
70	FN_TABLE_VERT_NONE
71	[
72		ExecMethod = Execute ;
73		StateMethod = GetState ;
74		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
75	]
76
77	FN_TABLE_VERT_CENTER
78	[
79		ExecMethod = Execute ;
80		StateMethod = GetState ;
81		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
82	]
83
84	FN_TABLE_VERT_BOTTOM
85	[
86		ExecMethod = Execute ;
87		StateMethod = GetState ;
88		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
89	]
90	FN_TABLE_SET_COL_WIDTH // status( final|play )
91	[
92		ExecMethod = Execute ;
93		StateMethod = NoState ;
94		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
95	]
96	SID_ATTR_ULSPACE // status(final|play)
97	[
98		ExecMethod = Execute ;
99		StateMethod = GetState ;
100		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
101	]
102
103	SID_ATTR_LRSPACE // status(final|play)
104	[
105		ExecMethod = Execute ;
106		StateMethod = GetState ;
107		GroupId = GID_TABLE;
108		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
109	]
110
111	FN_TABLE_DELETE_COL  // status(final|play)
112	[
113		ExecMethod = Execute ;
114		StateMethod = GetState ;
115		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
116	]
117
118	FN_TABLE_DELETE_ROW  // status(final|play)
119	[
120		ExecMethod = Execute ;
121		StateMethod = GetState ;
122		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
123	]
124    FN_TABLE_DELETE_TABLE
125    [
126        ExecMethod = Execute ;
127        StateMethod = GetState ;
128        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
129    ]
130    FN_GOTO_NEXT_CELL // status(final|play)
131    [
132        ExecMethod = Execute ;
133        StateMethod = NoState ;
134    ]
135
136    FN_GOTO_PREV_CELL // status(final|play)
137    [
138        ExecMethod = Execute ;
139        StateMethod = NoState ;
140    ]
141    FN_END_TABLE  // status(final|play)
142	[
143		ExecMethod = Execute ;
144		StateMethod = NoState ;
145	]
146
147	FN_START_TABLE	// status(final|play)
148	[
149		ExecMethod = Execute ;
150		StateMethod = NoState ;
151	]
152
153	FN_TABLE_INSERT_COL // status(final|play)
154	[
155		ExecMethod = Execute ;
156		StateMethod = NoState ;
157		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
158	]
159
160	FN_TABLE_INSERT_COL_DLG  // status(final|play)
161	[
162		Export = FALSE ;
163		ExecMethod = Execute ;
164		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
165	]
166
167	FN_TABLE_INSERT_ROW // status(final|play)
168	[
169		ExecMethod = Execute ;
170		StateMethod = GetState ;
171		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
172	]
173
174	FN_TABLE_INSERT_ROW_DLG  // status(final|play)
175	[
176		Export = FALSE ;
177		ExecMethod = Execute ;
178		StateMethod = GetState ;
179		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
180	]
181
182	FN_TABLE_MERGE_CELLS  // status(final|play)
183	[
184		ExecMethod = Execute ;
185		StateMethod = GetState ;
186		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
187	]
188
189	FN_OPTIMIZE_TABLE
190	[
191		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
192        StateMethod = GetState ;
193    ]
194
195	FN_TABLE_ADJUST_CELLS  // status(final|play)
196	[
197		ExecMethod = Execute ;
198		StateMethod = GetState ;
199		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
200	]
201
202	FN_TABLE_BALANCE_CELLS	// status()
203	[
204		ExecMethod = Execute ;
205		StateMethod = GetState ;
206		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
207	]
208
209	FN_TABLE_BALANCE_ROWS  // status()
210	[
211		ExecMethod = Execute ;
212		StateMethod = GetState ;
213		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
214	]
215
216	FN_TABLE_SELECT_ALL // status(final|play)
217	[
218		ExecMethod = Execute ;
219		StateMethod = NoState ;
220	]
221
222	FN_TABLE_SELECT_COL   // status(final|play)
223	[
224		ExecMethod = Execute ;
225		StateMethod = NoState ;
226	]
227
228	FN_TABLE_SELECT_ROW  // status(final|play)
229	[
230		ExecMethod = Execute ;
231		StateMethod = NoState ;
232	]
233    FN_TABLE_SELECT_CELL
234    [
235        ExecMethod = Execute ;
236        StateMethod = NoState ;
237        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
238    ]
239	FN_TABLE_SET_ROW_HEIGHT // status(final|play)
240	[
241		ExecMethod = Execute ;
242		StateMethod = NoState ;
243		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
244	]
245        FN_TABLE_ROW_SPLIT
246        [
247                ExecMethod = Execute ;
248                StateMethod = GetState ;
249                DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
250        ]
251        FN_TABLE_OPTIMAL_HEIGHT // status(final|play)
252	[
253		ExecMethod = Execute ;
254		StateMethod = GetState ;
255		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
256	]
257
258	FN_TABLE_SPLIT_CELLS // status(final|play)
259	[
260		ExecMethod = Execute ;
261		StateMethod = NoState ;
262		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
263	]
264
265	FN_TABLE_SPLIT_TABLE // status(final|play)
266	[
267		ExecMethod = Execute ;
268		StateMethod = GetState ;
269		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
270	]
271
272	FN_TABLE_MERGE_TABLE // status(final|play)
273	[
274		ExecMethod = Execute ;
275		StateMethod = GetState ;
276		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
277	]
278
279	FN_TABLE_UNSET_READ_ONLY_CELLS // status()
280	[
281		ExecMethod = Execute ;
282		StateMethod = GetState ;
283	]
284
285	SID_AUTOFORMAT // status(final|play)
286	[
287		ExecMethod = Execute ;
288		StateMethod = NoState ;
289		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
290	]
291
292	SID_ATTR_BORDER // status()
293	[
294		ExecMethod = Execute ;
295		StateMethod = GetFrmBorderState ;
296		GroupId = GID_TABLE;
297		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
298	]
299
300	SID_FRAME_LINESTYLE // status()
301	[
302		ExecMethod = ExecTableStyle ;
303		StateMethod = GetLineStyleState ;
304		Export = FALSE; //#44439#
305		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
306	]
307
308	SID_FRAME_LINECOLOR // status(play)
309	[
310		ExecMethod = ExecTableStyle ;
311		StateMethod = GetLineStyleState ;
312		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
313	]
314
315	FN_TABLE_MODE_FIX
316	[
317		ExecMethod = Execute;
318		StateMethod = GetState;
319	]
320
321	FN_TABLE_MODE_FIX_PROP
322	[
323		ExecMethod = Execute;
324		StateMethod = GetState;
325	]
326
327	FN_TABLE_MODE_VARIABLE
328	[
329		ExecMethod = Execute;
330		StateMethod = GetState;
331	]
332
333	FN_NUMBER_FORMAT
334	[
335		ExecMethod = ExecNumberFormat;
336		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
337	]
338
339	FN_NUMBER_STANDARD
340	[
341		ExecMethod = ExecNumberFormat;
342		StateMethod = NoState ;
343		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
344	]
345	FN_NUMBER_TWODEC
346	[
347		ExecMethod = ExecNumberFormat;
348		StateMethod = NoState ;
349		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
350	]
351	FN_NUMBER_SCIENTIFIC
352	[
353		ExecMethod = ExecNumberFormat;
354		StateMethod = NoState ;
355		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
356	]
357	FN_NUMBER_DATE
358	[
359		ExecMethod = ExecNumberFormat;
360		StateMethod = NoState ;
361		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
362	]
363	FN_NUMBER_TIME
364	[
365		ExecMethod = ExecNumberFormat;
366		StateMethod = NoState ;
367		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
368	]
369	FN_NUMBER_CURRENCY
370	[
371		ExecMethod = ExecNumberFormat;
372		StateMethod = NoState ;
373		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
374	]
375	FN_NUMBER_PERCENT
376	[
377		ExecMethod = ExecNumberFormat;
378		StateMethod = NoState ;
379		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
380	]
381// Slots ohne Export
382
383	FN_INSERT_TABLE
384	[
385		Export = FALSE ;
386		ExecMethod = Execute ;
387		StateMethod = GetState ;
388		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
389	]
390    FN_TABLE_HEADLINE_REPEAT
391    [
392        ExecMethod = Execute ;
393        StateMethod = GetState ;
394        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
395    ]
396    FN_TABLE_SELECT_CELL
397    [
398        ExecMethod = Execute ;
399        StateMethod = GetState ;
400        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
401    ]
402    FN_TABLE_DELETE_TABLE
403    [
404        ExecMethod = Execute ;
405        StateMethod = GetState ;
406        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
407    ]
408}
409
410