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: tabvwsh.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 ************************************************************************/
32 // ===========================================================================
33 interface TableOLEObject
35 uuid ( "C04AA960-137B-11D3-B25B-006097DA68F3" )
38 SID_ACTIVE_OBJ_NAME [ StateMethod = GetObjectState; ]
39 SID_OLE_OBJECT [ StateMethod = GetObjectState; ]
40 SID_OLE_ACTIVATE [ ExecMethod = ExecuteObject; ]
41 SID_OLE_DEACTIVATE [ ExecMethod = ExecuteObject; ]
42 SID_OLE_SELECT [ ExecMethod = ExecuteObject; ] // api:
43 SID_OBJECT_LEFT [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
44 SID_OBJECT_TOP [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
45 SID_OBJECT_WIDTH [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
46 SID_OBJECT_HEIGHT [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
49 //============================================================================
52 uuid = "5692EFC0-355B-11cf-89CB-008029E4B0B1" ;
55 FID_TAB_SELECTALL [ ExecMethod = Execute; StateMethod = GetState; ]
56 FID_TAB_DESELECTALL [ ExecMethod = Execute; StateMethod = GetState; ]
57 FID_TAB_MENU_RENAME [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
58 FID_TAB_APPEND [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
59 FID_INS_TABLE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
60 FID_INS_TABLE_EXT [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
61 FID_TABLE_HIDE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
62 FID_TABLE_SHOW [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
63 SID_SELECT_TABLES [ ExecMethod = Execute; StateMethod = GetState; ]
64 FID_TAB_MENU_SET_TAB_BG_COLOR [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
67 // ===========================================================================
68 interface BaseSelection
70 uuid = "02ABE040-137B-11D3-B25B-006097DA68F3" ;
73 // Einfuegen von Objekten {
75 SID_INSERT_GRAPHIC [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
76 SID_INSERT_FRAME [ ExecMethod = ExecDraw; StateMethod = GetDrawState; Export = FALSE; ]
77 SID_INSERT_OBJECT [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
78 SID_INSERT_PLUGIN [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
79 SID_INSERT_SOUND [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
80 SID_INSERT_VIDEO [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
81 SID_INSERT_APPLET [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
82 SID_INSERT_FLOATINGFRAME [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
83 SID_INSERT_AVMEDIA [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
85 SID_IMAP [ ExecMethod = ExecImageMap; StateMethod = GetImageMapState; ]
86 SID_IMAP_EXEC [ ExecMethod = ExecImageMap; StateMethod = GetImageMapState; ]
88 SfxVoidItem InsertObjectChart SID_INSERT_DIAGRAM
90 SfxBoolItem ColHeaders SID_ATTR_COLHEADERS,
91 SfxBoolItem RowHeaders SID_ATTR_ROWHEADERS,
92 SfxBoolItem InNewTable FN_PARAM_4,
93 SfxStringItem RangeList FN_PARAM_5
96 ExecMethod = ExecDrawIns ;
97 StateMethod = GetDrawInsState ;
98 Cachable , Asynchron ;
101 SID_PIVOT_CREATE [ ExecMethod = ExecuteSbx; StateMethod = GetSbxState; ]
102 SID_RANGE_OFFSET [ ExecMethod = ExecuteSbx; ]
103 SID_RANGE_REGION [ StateMethod = GetSbxState; ]
106 SID_INSERT_SMATH [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
107 SID_GALLERY_FORMATS [ ExecMethod = ExecGallery; StateMethod = GetGalleryState; ]
108 SID_GALLERY [ ExecMethod = ExecChildWin; StateMethod = GetChildWinState; ]
109 SID_AVMEDIA_PLAYER [ ExecMethod = ExecChildWin; StateMethod = GetChildWinState; ]
110 SID_DRAW_NOTEEDIT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
111 SID_OBJECTRESIZE [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
113 //SID_CHOOSE_CONTROLS [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
114 SID_OBJECT_SELECT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
115 SID_INSERT_DRAW [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
116 SID_FONTWORK_GALLERY_FLOATER [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
117 SID_DRAWTBX_CS_BASIC [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
118 SID_DRAWTBX_CS_SYMBOL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
119 SID_DRAWTBX_CS_ARROW [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
120 SID_DRAWTBX_CS_FLOWCHART [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
121 SID_DRAWTBX_CS_CALLOUT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
122 SID_DRAWTBX_CS_STAR [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
123 SID_DRAW_CS_ID [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
125 SID_FM_CREATE_CONTROL [ ExecMethod = ExecDraw ; ]
126 SID_LINKS [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
127 SID_DRAW_CHART [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
128 SID_FM_CREATE_FIELDCONTROL [ ExecMethod = ExecDrawIns ; ]
130 // } Einfuegen von Objekten
134 interface TableEditView : View
136 uuid ( "16D7E4A0-2FB4-11CF-89CB-008029E4B0B1" )
139 SbxObject SearchSettings
152 FID_TOGGLEINPUTLINE [ ExecMethod = Execute; StateMethod = GetState; ]
153 SID_DEFINE_PRINTAREA [ ExecMethod = Execute; StateMethod = GetState; ]
154 SID_ADD_PRINTAREA [ ExecMethod = Execute; StateMethod = GetState; ]
155 FID_ADJUST_PRINTZOOM [ ExecMethod = Execute; StateMethod = GetState; ]
157 SID_CURRENTDOC [ ExecMethod = Execute; StateMethod = GetState; ]
158 SID_WINDOW_SPLIT [ ExecMethod = Execute; StateMethod = GetState; ]
159 SID_WINDOW_FIX [ ExecMethod = Execute; StateMethod = GetState; ]
162 ExecMethod = ExecuteSave ;
163 StateMethod = GetSaveState ;
168 ExecMethod = ExecuteSave ;
169 StateMethod = GetSaveState ;
172 // hat zwar ein SW im Namen, wird aber im Calc auch gebraucht
173 SID_CREATE_SW_DRAWVIEW [ ExecMethod = Execute; ]
174 SID_ATTR_ZOOM [ ExecMethod = Execute; StateMethod = GetState; ]
175 SID_ATTR_ZOOMSLIDER [ ExecMethod = Execute; StateMethod = GetState; ]
176 FID_INSERT_FILE [ ExecMethod = Execute; StateMethod = GetState; ]
177 // Save / SaveAs ueberladen, um die Eingabe abzuschliessen
179 FID_SCALE [ ExecMethod = Execute; StateMethod = GetState; ]
180 FID_FUNCTION_BOX [ ExecMethod = Execute; StateMethod = GetState; ]
181 FID_CHG_SHOW [ ExecMethod = Execute; StateMethod = GetState; ]
182 WID_SIMPLE_REF [ ExecMethod = Execute; StateMethod = NoState; ]
183 FID_CHG_ACCEPT [ ExecMethod = Execute; StateMethod = GetState; ]
184 FID_CHG_COMMENT [ ExecMethod = Execute; StateMethod = GetState; ]
186 FID_SCALESTATUS [ ExecMethod = Execute; StateMethod = GetState; ]
187 FID_TOGGLESYNTAX [ ExecMethod = Execute; StateMethod = GetState; ]
188 FID_TOGGLEHEADERS [ ExecMethod = Execute; StateMethod = GetState; ]
189 FID_TOGGLEFORMULA [ ExecMethod = Execute; StateMethod = GetState; ]
190 FID_NORMALVIEWMODE [ ExecMethod = Execute; StateMethod = GetState; ]
191 FID_PAGEBREAKMODE [ ExecMethod = Execute; StateMethod = GetState; ]
192 SID_REPAINT [ ExecMethod = Execute; StateMethod = GetState; ]
193 SID_CURRENTCELL [ ExecMethod = Execute; StateMethod = GetState; ]
194 SID_CURRENTOBJECT [ ExecMethod = Execute; StateMethod = GetState; ]
195 SID_JUMPTOMARK [ ExecMethod = Execute; StateMethod = NoState; ] // status(final|play)
197 SID_PRINTPREVIEW [ ExecMethod = Execute; StateMethod = GetState; ]
199 SID_INPLACE_OBJECT [ ExecMethod = Execute; StateMethod = NoState; Export = FALSE; ]
200 SID_OUTPLACE_OBJECT [ ExecMethod = Execute; StateMethod = NoState; Export = FALSE; ]
203 FID_SEARCH_NOW [ ExecMethod = ExecSearch; StateMethod = NoState; ]
204 SID_SEARCH_ITEM [ ExecMethod = ExecSearch; StateMethod = GetState; ]
205 SID_SEARCH_OPTIONS [ ExecMethod = NoExec; StateMethod = GetState; ]
206 // Suchen/Ersetzen von Basic aus:
207 FID_SEARCH [ ExecMethod = ExecSearch; ]
208 FID_REPLACE [ ExecMethod = ExecSearch; ]
209 FID_SEARCH_ALL [ ExecMethod = ExecSearch; ]
210 FID_REPLACE_ALL [ ExecMethod = ExecSearch; ]
211 FID_REPEAT_SEARCH [ ExecMethod = ExecSearch; ]
213 SID_CURRENTTAB [ ExecMethod = Execute; StateMethod = GetState; ]
215 // view options for drawing layer are needed here because they
216 // can be set without a drawing object selected (#75361#)
217 SID_GRID_VISIBLE [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; Export = FALSE; ]
218 SID_GRID_USE [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; Export = FALSE; ]
219 SID_HELPLINES_MOVE [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; Export = FALSE; ]
221 SID_GETUNDOSTRINGS [ StateMethod = GetUndoState; ]
222 SID_GETREDOSTRINGS [ StateMethod = GetUndoState; ]
223 SID_UNDO [ ExecMethod = ExecuteUndo; StateMethod = GetUndoState; ]
224 SID_REDO [ ExecMethod = ExecuteUndo; StateMethod = GetUndoState; ]
226 SID_OPT_LOCALE_CHANGED [ ExecMethod = Execute; ]
228 SID_READONLY_MODE [ StateMethod = GetState; ]
236 interface DataPilotTables
238 uuid ( "86DB0400-4EE6-11d1-89CB-008029E4B0B1" )
243 interface DataPilotTable
245 uuid ( "E8DBA2C1-4C5E-11d1-89CB-008029E4B0B1" )
248 SbxObject DataPilotFields SID_PIVOT_FIELDS
252 interface DataPilotFields
254 uuid ( "BA09AF20-4C70-11d1-89CB-008029E4B0B1" )
259 interface DataPilotField
261 uuid ( "D2C2C540-4C8B-11d1-89CB-008029E4B0B1" )
264 String FieldName SID_PFIELD_NAME
266 UINT16 Orientation SID_PFIELD_ORIENTATION
268 UINT16 Function SID_PFIELD_FUNCTION
272 // ===========================================================================
273 shell ScTabViewShell : SfxViewShell
275 import TableSelection "ActiveDocument.ActiveTable";
276 import TableOLEObject "SelectedObject";
277 import Tables "ActiveDocument.Tables";
278 import BaseSelection;
279 import TableEditView[Automation];
280 // import SearchSettings;
283 SID_STATUS_PAGESTYLE [ ExecMethod = Execute; StateMethod = GetState; ]
284 SID_TBXCTL_INSERT [ ExecMethod = ExecTbx; StateMethod = GetTbxState; ]
285 SID_TBXCTL_INSCELLS [ ExecMethod = ExecTbx; StateMethod = GetTbxState; ]
286 SID_TBXCTL_INSOBJ [ ExecMethod = ExecTbx; StateMethod = GetTbxState; ]