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