xref: /aoo42x/main/sc/sdi/tabvwsh.sdi (revision c5c7750d)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24
25 // ===========================================================================
26interface TableOLEObject
27[
28	uuid ( "C04AA960-137B-11D3-B25B-006097DA68F3" )
29]
30{
31	SID_ACTIVE_OBJ_NAME	[ StateMethod = GetObjectState; ]
32	SID_OLE_OBJECT		[ StateMethod = GetObjectState; ]
33	SID_OLE_ACTIVATE	[ ExecMethod = ExecuteObject; ]
34	SID_OLE_DEACTIVATE	[ ExecMethod = ExecuteObject; ]
35	SID_OLE_SELECT		[ ExecMethod = ExecuteObject; ] // api:
36	SID_OBJECT_LEFT		[ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
37	SID_OBJECT_TOP		[ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
38	SID_OBJECT_WIDTH	[ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
39	SID_OBJECT_HEIGHT	[ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
40}
41
42 //============================================================================
43interface Tables
44[
45	uuid = "5692EFC0-355B-11cf-89CB-008029E4B0B1" ;
46]
47{
48	FID_TAB_SELECTALL	[ ExecMethod = Execute; StateMethod = GetState; ]
49    FID_TAB_DESELECTALL [ ExecMethod = Execute; StateMethod = GetState; ]
50	FID_TAB_MENU_RENAME	[ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
51	FID_TAB_APPEND	    [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
52	FID_INS_TABLE	    [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
53	FID_INS_TABLE_EXT	[ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
54	FID_TABLE_HIDE	    [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
55	FID_TABLE_SHOW	    [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
56    SID_SELECT_TABLES   [ ExecMethod = Execute; StateMethod = GetState; ]
57    FID_TAB_MENU_SET_TAB_BG_COLOR   [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
58    FID_TAB_EVENTS      [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
59}
60
61 // ===========================================================================
62interface BaseSelection
63[
64	uuid = "02ABE040-137B-11D3-B25B-006097DA68F3" ;
65]
66{
67	// Einfuegen von Objekten {
68
69	SID_INSERT_GRAPHIC			[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
70	SID_INSERT_FRAME			[ ExecMethod = ExecDraw; StateMethod = GetDrawState; Export = FALSE; ]
71	SID_INSERT_OBJECT			[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
72	SID_INSERT_PLUGIN			[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
73	SID_INSERT_SOUND			[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
74	SID_INSERT_VIDEO			[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
75	SID_INSERT_FLOATINGFRAME	[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
76	SID_INSERT_AVMEDIA			[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
77
78	SID_IMAP					[ ExecMethod = ExecImageMap; StateMethod = GetImageMapState; ]
79	SID_IMAP_EXEC				[ ExecMethod = ExecImageMap; StateMethod = GetImageMapState; ]
80
81	SfxVoidItem InsertObjectChart SID_INSERT_DIAGRAM
82	(
83	    SfxBoolItem ColHeaders SID_ATTR_COLHEADERS,
84	    SfxBoolItem RowHeaders SID_ATTR_ROWHEADERS,
85	    SfxBoolItem InNewTable FN_PARAM_4,
86	    SfxStringItem RangeList FN_PARAM_5
87	)
88	[
89		ExecMethod = ExecDrawIns ;
90		StateMethod = GetDrawInsState ;
91		Cachable , Asynchron ;
92	]
93
94	SID_PIVOT_CREATE		[ ExecMethod = ExecuteSbx; StateMethod = GetSbxState; ]
95	SID_RANGE_OFFSET		[ ExecMethod = ExecuteSbx; ]
96	SID_RANGE_REGION		[ StateMethod = GetSbxState; ]
97
98
99	SID_INSERT_SMATH		[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
100	SID_GALLERY_FORMATS		[ ExecMethod = ExecGallery; StateMethod = GetGalleryState; ]
101	SID_GALLERY				[ ExecMethod = ExecChildWin; StateMethod = GetChildWinState; ]
102	SID_AVMEDIA_PLAYER		[ ExecMethod = ExecChildWin; StateMethod = GetChildWinState; ]
103	SID_DRAW_NOTEEDIT		[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
104	SID_OBJECTRESIZE		[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
105
106	 //SID_CHOOSE_CONTROLS			[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
107	SID_OBJECT_SELECT				[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
108	SID_INSERT_DRAW					[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
109    SID_FONTWORK_GALLERY_FLOATER	[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
110    SID_DRAWTBX_CS_BASIC		    [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
111    SID_DRAWTBX_CS_SYMBOL			[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
112    SID_DRAWTBX_CS_ARROW			[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
113    SID_DRAWTBX_CS_FLOWCHART		[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
114    SID_DRAWTBX_CS_CALLOUT			[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
115    SID_DRAWTBX_CS_STAR				[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
116    SID_DRAW_CS_ID					[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
117
118	SID_FM_CREATE_CONTROL	[ ExecMethod = ExecDraw ; ]
119	SID_LINKS				[ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
120	SID_DRAW_CHART			[ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
121	SID_FM_CREATE_FIELDCONTROL [ ExecMethod = ExecDrawIns ; ]
122
123	// } Einfuegen von Objekten
124
125}
126
127interface TableEditView
128[
129	uuid ( "16D7E4A0-2FB4-11CF-89CB-008029E4B0B1" )
130]
131{
132	SbxObject SearchSettings
133	[
134		Readonly ;
135	]
136
137	SbxObject Table
138	[
139	]
140	SbxObject Range
141	[
142		Export = FALSE ;
143	]
144
145	FID_TOGGLEINPUTLINE		[ ExecMethod = Execute; StateMethod = GetState; ]
146	SID_DEFINE_PRINTAREA	[ ExecMethod = Execute; StateMethod = GetState; ]
147	SID_ADD_PRINTAREA		[ ExecMethod = Execute; StateMethod = GetState; ]
148	FID_ADJUST_PRINTZOOM	[ ExecMethod = Execute; StateMethod = GetState; ]
149
150		SID_CURRENTDOC		[ ExecMethod = Execute; StateMethod = GetState; ]
151	SID_WINDOW_SPLIT	[ ExecMethod = Execute; StateMethod = GetState; ]
152	SID_WINDOW_FIX		[ ExecMethod = Execute; StateMethod = GetState; ]
153	SID_SAVEDOC
154	[
155		ExecMethod = ExecuteSave ;
156		StateMethod = GetSaveState ;
157		Export = FALSE ;
158	]
159	SID_SAVEASDOC
160	[
161		ExecMethod = ExecuteSave ;
162		StateMethod = GetSaveState ;
163		Export = FALSE ;
164	]
165	 //	hat zwar ein SW im Namen, wird aber im Calc auch gebraucht
166	SID_CREATE_SW_DRAWVIEW [ ExecMethod = Execute; ]
167	SID_ATTR_ZOOM		[ ExecMethod = Execute; StateMethod = GetState; ]
168	SID_ATTR_ZOOMSLIDER [ ExecMethod = Execute; StateMethod = GetState; ]
169	FID_INSERT_FILE	[ ExecMethod = Execute; StateMethod = GetState; ]
170	 //	Save / SaveAs ueberladen, um die Eingabe abzuschliessen
171
172	FID_SCALE			[ ExecMethod = Execute; StateMethod = GetState; ]
173	FID_FUNCTION_BOX	[ ExecMethod = Execute; StateMethod = GetState; ]
174	FID_CHG_SHOW  		[ ExecMethod = Execute; StateMethod = GetState; ]
175	WID_SIMPLE_REF		[ ExecMethod = Execute; StateMethod = NoState; ]
176	FID_CHG_ACCEPT		[ ExecMethod = Execute; StateMethod = GetState; ]
177	FID_CHG_COMMENT		[ ExecMethod = Execute; StateMethod = GetState; ]
178
179	FID_SCALESTATUS		[ ExecMethod = Execute; StateMethod = GetState; ]
180	FID_TOGGLESYNTAX    [ ExecMethod = Execute; StateMethod = GetState; ]
181	FID_TOGGLEHEADERS	[ ExecMethod = Execute; StateMethod = GetState; ]
182    FID_TOGGLEFORMULA	[ ExecMethod = Execute; StateMethod = GetState; ]
183	FID_NORMALVIEWMODE	[ ExecMethod = Execute; StateMethod = GetState; ]
184	FID_PAGEBREAKMODE	[ ExecMethod = Execute; StateMethod = GetState; ]
185	SID_REPAINT			[ ExecMethod = Execute; StateMethod = GetState; ]
186	SID_CURRENTCELL		[ ExecMethod = Execute; StateMethod = GetState; ]
187	SID_CURRENTOBJECT	[ ExecMethod = Execute; StateMethod = GetState; ]
188	SID_JUMPTOMARK		[ ExecMethod = Execute; StateMethod = NoState; ] // status(final|play)
189
190	SID_PRINTPREVIEW	[ ExecMethod = Execute; StateMethod = GetState; ]
191
192
193		 //	Suchen/Eersetzen:
194	FID_SEARCH_NOW		[ ExecMethod = ExecSearch; StateMethod = NoState;  ]
195	SID_SEARCH_ITEM		[ ExecMethod = ExecSearch;  StateMethod = GetState; ]
196	SID_SEARCH_OPTIONS	[ ExecMethod = NoExec;      StateMethod = GetState; ]
197	 //	Suchen/Ersetzen von Basic aus:
198	FID_SEARCH			[ ExecMethod = ExecSearch; ]
199	FID_REPLACE			[ ExecMethod = ExecSearch; ]
200	FID_SEARCH_ALL		[ ExecMethod = ExecSearch; ]
201	FID_SEARCH_ON		[ ExecMethod = ExecSearch; Export = FALSE; ]
202	FID_REPLACE_ALL		[ ExecMethod = ExecSearch; ]
203	FID_REPEAT_SEARCH	[ ExecMethod = ExecSearch; ]
204
205	SID_CURRENTTAB		[ ExecMethod = Execute; StateMethod = GetState; ]
206
207	//	view options for drawing layer are needed here because they
208	//	can be set without a drawing object selected (#75361#)
209	SID_GRID_VISIBLE	[ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; Export = FALSE; ]
210	SID_GRID_USE		[ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; Export = FALSE; ]
211	SID_HELPLINES_MOVE	[ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; Export = FALSE; ]
212
213	SID_GETUNDOSTRINGS	[ StateMethod = GetUndoState; ]
214	SID_GETREDOSTRINGS	[ StateMethod = GetUndoState; ]
215	SID_UNDO			[ ExecMethod = ExecuteUndo; StateMethod = GetUndoState; ]
216	SID_REDO			[ ExecMethod = ExecuteUndo; StateMethod = GetUndoState; ]
217
218    SID_OPT_LOCALE_CHANGED  [ ExecMethod = Execute; ]
219
220	SID_READONLY_MODE	[ StateMethod = GetState; ]
221}
222
223
224 //
225 //		Pivot-Krempel
226 //
227
228interface DataPilotTables
229[
230	uuid ( "86DB0400-4EE6-11d1-89CB-008029E4B0B1" )
231]
232{
233}
234
235interface DataPilotTable
236[
237	uuid ( "E8DBA2C1-4C5E-11d1-89CB-008029E4B0B1" )
238]
239{
240	SbxObject DataPilotFields SID_PIVOT_FIELDS
241	[ HelpText = "" ; ]
242}
243
244interface DataPilotFields
245[
246	uuid ( "BA09AF20-4C70-11d1-89CB-008029E4B0B1" )
247]
248{
249}
250
251interface DataPilotField
252[
253	uuid ( "D2C2C540-4C8B-11d1-89CB-008029E4B0B1" )
254]
255{
256	String FieldName SID_PFIELD_NAME
257	[ HelpText = "" ; ]
258	UINT16 Orientation SID_PFIELD_ORIENTATION
259	[ HelpText = "" ; ]
260	UINT16 Function SID_PFIELD_FUNCTION
261	[ HelpText = "" ; ]
262}
263
264 // ===========================================================================
265shell ScTabViewShell
266{
267	import TableSelection "ActiveDocument.ActiveTable";
268	import TableOLEObject "SelectedObject";
269	import Tables "ActiveDocument.Tables";
270	import BaseSelection;
271	import TableEditView[Automation];
272//	import SearchSettings;
273
274
275	SID_STATUS_PAGESTYLE	[ ExecMethod = Execute; StateMethod = GetState; ]
276	SID_TBXCTL_INSERT		[ ExecMethod = ExecTbx; StateMethod = GetTbxState; ]
277	SID_TBXCTL_INSCELLS		[ ExecMethod = ExecTbx; StateMethod = GetTbxState; ]
278	SID_TBXCTL_INSOBJ		[ ExecMethod = ExecTbx; StateMethod = GetTbxState; ]
279
280}
281
282
283