merged tag ooo/OOO330_m14
[LibreOffice.git] / sc / sdi / tabvwsh.sdi
blobfac67839e656e35264033ba42702df74dd791dbf
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  ************************************************************************/
29  // ===========================================================================
30 interface TableOLEObject
32     uuid ( "C04AA960-137B-11D3-B25B-006097DA68F3" )
35     SID_ACTIVE_OBJ_NAME [ StateMethod = GetObjectState; ]
36     SID_OLE_OBJECT      [ StateMethod = GetObjectState; ]
37     SID_OLE_ACTIVATE    [ ExecMethod = ExecuteObject; ]
38     SID_OLE_DEACTIVATE  [ ExecMethod = ExecuteObject; ]
39     SID_OLE_SELECT      [ ExecMethod = ExecuteObject; ] // api:
40     SID_OBJECT_LEFT     [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
41     SID_OBJECT_TOP      [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
42     SID_OBJECT_WIDTH    [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
43     SID_OBJECT_HEIGHT   [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
46  //============================================================================
47 interface Tables
49     uuid = "5692EFC0-355B-11cf-89CB-008029E4B0B1" ;
52     FID_TAB_SELECTALL   [ ExecMethod = Execute; StateMethod = GetState; ]
53     FID_TAB_DESELECTALL [ ExecMethod = Execute; StateMethod = GetState; ]
54     FID_TAB_MENU_RENAME [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
55     FID_TAB_APPEND      [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
56     FID_INS_TABLE       [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
57     FID_INS_TABLE_EXT   [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
58     FID_TABLE_HIDE      [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
59     FID_TABLE_SHOW      [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
60     SID_SELECT_TABLES   [ ExecMethod = Execute; StateMethod = GetState; ]
61     FID_TAB_MENU_SET_TAB_BG_COLOR   [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
62     FID_TAB_EVENTS      [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
65  // ===========================================================================
66 interface BaseSelection
68     uuid = "02ABE040-137B-11D3-B25B-006097DA68F3" ;
71     // Einfuegen von Objekten {
73     SID_INSERT_GRAPHIC          [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
74     SID_INSERT_FRAME            [ ExecMethod = ExecDraw; StateMethod = GetDrawState; Export = FALSE; ]
75     SID_INSERT_OBJECT           [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
76     SID_INSERT_PLUGIN           [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
77     SID_INSERT_SOUND            [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
78     SID_INSERT_VIDEO            [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
79     SID_INSERT_APPLET           [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
80     SID_INSERT_FLOATINGFRAME    [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
81     SID_INSERT_AVMEDIA          [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
83     SID_IMAP                    [ ExecMethod = ExecImageMap; StateMethod = GetImageMapState; ]
84     SID_IMAP_EXEC               [ ExecMethod = ExecImageMap; StateMethod = GetImageMapState; ]
86     SfxVoidItem InsertObjectChart SID_INSERT_DIAGRAM
87     (
88         SfxBoolItem ColHeaders SID_ATTR_COLHEADERS,
89         SfxBoolItem RowHeaders SID_ATTR_ROWHEADERS,
90         SfxBoolItem InNewTable FN_PARAM_4,
91         SfxStringItem RangeList FN_PARAM_5
92     )
93     [
94         ExecMethod = ExecDrawIns ;
95         StateMethod = GetDrawInsState ;
96         Cachable , Asynchron ;
97     ]
99     SID_PIVOT_CREATE        [ ExecMethod = ExecuteSbx; StateMethod = GetSbxState; ]
100     SID_RANGE_OFFSET        [ ExecMethod = ExecuteSbx; ]
101     SID_RANGE_REGION        [ StateMethod = GetSbxState; ]
104     SID_INSERT_SMATH        [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
105     SID_GALLERY_FORMATS     [ ExecMethod = ExecGallery; StateMethod = GetGalleryState; ]
106     SID_GALLERY             [ ExecMethod = ExecChildWin; StateMethod = GetChildWinState; ]
107     SID_AVMEDIA_PLAYER      [ ExecMethod = ExecChildWin; StateMethod = GetChildWinState; ]
108     SID_DRAW_NOTEEDIT       [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
109     SID_OBJECTRESIZE        [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
111      //SID_CHOOSE_CONTROLS          [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
112     SID_OBJECT_SELECT               [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
113     SID_INSERT_DRAW                 [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
114     SID_FONTWORK_GALLERY_FLOATER    [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
115     SID_DRAWTBX_CS_BASIC            [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
116     SID_DRAWTBX_CS_SYMBOL           [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
117     SID_DRAWTBX_CS_ARROW            [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
118     SID_DRAWTBX_CS_FLOWCHART        [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
119     SID_DRAWTBX_CS_CALLOUT          [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
120     SID_DRAWTBX_CS_STAR             [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
121     SID_DRAW_CS_ID                  [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
123     SID_FM_CREATE_CONTROL   [ ExecMethod = ExecDraw ; ]
124     SID_LINKS               [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
125     SID_DRAW_CHART          [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
126     SID_FM_CREATE_FIELDCONTROL [ ExecMethod = ExecDrawIns ; ]
128     // } Einfuegen von Objekten
132 interface TableEditView
134     uuid ( "16D7E4A0-2FB4-11CF-89CB-008029E4B0B1" )
137     SbxObject SearchSettings
138     [
139         Readonly ;
140     ]
142     SbxObject Table
143     [
144     ]
145     SbxObject Range
146     [
147         Export = FALSE ;
148     ]
150     FID_TOGGLEINPUTLINE     [ ExecMethod = Execute; StateMethod = GetState; ]
151     SID_DEFINE_PRINTAREA    [ ExecMethod = Execute; StateMethod = GetState; ]
152     SID_ADD_PRINTAREA       [ ExecMethod = Execute; StateMethod = GetState; ]
153     FID_ADJUST_PRINTZOOM    [ ExecMethod = Execute; StateMethod = GetState; ]
155         SID_CURRENTDOC      [ ExecMethod = Execute; StateMethod = GetState; ]
156     SID_WINDOW_SPLIT    [ ExecMethod = Execute; StateMethod = GetState; ]
157     SID_WINDOW_FIX      [ ExecMethod = Execute; StateMethod = GetState; ]
158     SID_SAVEDOC
159     [
160         ExecMethod = ExecuteSave ;
161         StateMethod = GetSaveState ;
162         Export = FALSE ;
163     ]
164     SID_SAVEASDOC
165     [
166         ExecMethod = ExecuteSave ;
167         StateMethod = GetSaveState ;
168         Export = FALSE ;
169     ]
170      // hat zwar ein SW im Namen, wird aber im Calc auch gebraucht
171     SID_CREATE_SW_DRAWVIEW [ ExecMethod = Execute; ]
172     SID_ATTR_ZOOM       [ ExecMethod = Execute; StateMethod = GetState; ]
173     SID_ATTR_ZOOMSLIDER [ ExecMethod = Execute; StateMethod = GetState; ]
174     FID_INSERT_FILE [ ExecMethod = Execute; StateMethod = GetState; ]
175      // Save / SaveAs ueberladen, um die Eingabe abzuschliessen
177     FID_SCALE           [ ExecMethod = Execute; StateMethod = GetState; ]
178     FID_FUNCTION_BOX    [ ExecMethod = Execute; StateMethod = GetState; ]
179     FID_CHG_SHOW        [ ExecMethod = Execute; StateMethod = GetState; ]
180     WID_SIMPLE_REF      [ ExecMethod = Execute; StateMethod = NoState; ]
181     FID_CHG_ACCEPT      [ ExecMethod = Execute; StateMethod = GetState; ]
182     FID_CHG_COMMENT     [ ExecMethod = Execute; StateMethod = GetState; ]
184     FID_SCALESTATUS     [ ExecMethod = Execute; StateMethod = GetState; ]
185     FID_TOGGLESYNTAX    [ ExecMethod = Execute; StateMethod = GetState; ]
186     FID_TOGGLEHEADERS   [ ExecMethod = Execute; StateMethod = GetState; ]
187     FID_TOGGLEFORMULA   [ ExecMethod = Execute; StateMethod = GetState; ]
188     FID_NORMALVIEWMODE  [ ExecMethod = Execute; StateMethod = GetState; ]
189     FID_PAGEBREAKMODE   [ ExecMethod = Execute; StateMethod = GetState; ]
190     SID_REPAINT         [ ExecMethod = Execute; StateMethod = GetState; ]
191     SID_CURRENTCELL     [ ExecMethod = Execute; StateMethod = GetState; ]
192     SID_CURRENTOBJECT   [ ExecMethod = Execute; StateMethod = GetState; ]
193     SID_JUMPTOMARK      [ ExecMethod = Execute; StateMethod = NoState; ] // status(final|play)
195     SID_PRINTPREVIEW    [ ExecMethod = Execute; StateMethod = GetState; ]
198          // Suchen/Eersetzen:
199     FID_SEARCH_NOW      [ ExecMethod = ExecSearch; StateMethod = NoState;  ]
200     SID_SEARCH_ITEM     [ ExecMethod = ExecSearch;  StateMethod = GetState; ]
201     SID_SEARCH_OPTIONS  [ ExecMethod = NoExec;      StateMethod = GetState; ]
202      // Suchen/Ersetzen von Basic aus:
203     FID_SEARCH          [ ExecMethod = ExecSearch; ]
204     FID_REPLACE         [ ExecMethod = ExecSearch; ]
205     FID_SEARCH_ALL      [ ExecMethod = ExecSearch; ]
206     FID_REPLACE_ALL     [ ExecMethod = ExecSearch; ]
207     FID_REPEAT_SEARCH   [ ExecMethod = ExecSearch; ]
209     SID_CURRENTTAB      [ ExecMethod = Execute; StateMethod = GetState; ]
211     //  view options for drawing layer are needed here because they
212     //  can be set without a drawing object selected (#75361#)
213     SID_GRID_VISIBLE    [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; Export = FALSE; ]
214     SID_GRID_USE        [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; Export = FALSE; ]
215     SID_HELPLINES_MOVE  [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; Export = FALSE; ]
217     SID_GETUNDOSTRINGS  [ StateMethod = GetUndoState; ]
218     SID_GETREDOSTRINGS  [ StateMethod = GetUndoState; ]
219     SID_UNDO            [ ExecMethod = ExecuteUndo; StateMethod = GetUndoState; ]
220     SID_REDO            [ ExecMethod = ExecuteUndo; StateMethod = GetUndoState; ]
222     SID_OPT_LOCALE_CHANGED  [ ExecMethod = Execute; ]
224     SID_READONLY_MODE   [ StateMethod = GetState; ]
228  //
229  //     Pivot-Krempel
230  //
232 interface DataPilotTables
234     uuid ( "86DB0400-4EE6-11d1-89CB-008029E4B0B1" )
239 interface DataPilotTable
241     uuid ( "E8DBA2C1-4C5E-11d1-89CB-008029E4B0B1" )
244     SbxObject DataPilotFields SID_PIVOT_FIELDS
245     [ HelpText = "" ; ]
248 interface DataPilotFields
250     uuid ( "BA09AF20-4C70-11d1-89CB-008029E4B0B1" )
255 interface DataPilotField
257     uuid ( "D2C2C540-4C8B-11d1-89CB-008029E4B0B1" )
260     String FieldName SID_PFIELD_NAME
261     [ HelpText = "" ; ]
262     UINT16 Orientation SID_PFIELD_ORIENTATION
263     [ HelpText = "" ; ]
264     UINT16 Function SID_PFIELD_FUNCTION
265     [ HelpText = "" ; ]
268  // ===========================================================================
269 shell ScTabViewShell
271     import TableSelection "ActiveDocument.ActiveTable";
272     import TableOLEObject "SelectedObject";
273     import Tables "ActiveDocument.Tables";
274     import BaseSelection;
275     import TableEditView[Automation];
276 //  import SearchSettings;
279     SID_STATUS_PAGESTYLE    [ ExecMethod = Execute; StateMethod = GetState; ]
280     SID_TBXCTL_INSERT       [ ExecMethod = ExecTbx; StateMethod = GetTbxState; ]
281     SID_TBXCTL_INSCELLS     [ ExecMethod = ExecTbx; StateMethod = GetTbxState; ]
282     SID_TBXCTL_INSOBJ       [ ExecMethod = ExecTbx; StateMethod = GetTbxState; ]