2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 interface TableOLEObject
23 SID_ACTIVE_OBJ_NAME [ StateMethod = GetObjectState; ]
24 SID_OLE_ACTIVATE [ ExecMethod = ExecuteObject; ]
25 SID_OLE_DEACTIVATE [ ExecMethod = ExecuteObject; ]
26 SID_OLE_SELECT [ ExecMethod = ExecuteObject; ] // api:
27 SID_OBJECT_LEFT [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
28 SID_OBJECT_TOP [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
29 SID_OBJECT_WIDTH [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
30 SID_OBJECT_HEIGHT [ ExecMethod = ExecuteObject; StateMethod = GetObjectState; ]
36 FID_TAB_SELECTALL [ ExecMethod = Execute; StateMethod = GetState; ]
37 FID_TAB_DESELECTALL [ ExecMethod = Execute; StateMethod = GetState; ]
38 FID_TAB_MENU_RENAME [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
39 FID_TAB_APPEND [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
40 FID_INS_TABLE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
41 FID_INS_TABLE_EXT [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
42 FID_TABLE_HIDE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
43 FID_TABLE_SHOW [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
44 SID_SELECT_TABLES [ ExecMethod = Execute; StateMethod = GetState; ]
45 FID_TAB_MENU_SET_TAB_BG_COLOR [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
46 FID_TAB_EVENTS [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
50 interface BaseSelection
54 SID_INSERT_GRAPHIC [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
55 SID_INSERT_FRAME [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
56 SID_INSERT_OBJECT [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
57 SID_INSERT_FLOATINGFRAME [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
58 SID_INSERT_AVMEDIA [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
59 SID_INSERT_SIGNATURELINE [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
60 SID_EDIT_SIGNATURELINE [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
61 SID_SIGN_SIGNATURELINE [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
63 SID_INSERT_QRCODE [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
64 SID_EDIT_QRCODE [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
66 SID_IMAP [ ExecMethod = ExecImageMap; StateMethod = GetImageMapState; ]
67 SID_IMAP_EXEC [ ExecMethod = ExecImageMap; StateMethod = GetImageMapState; ]
69 SfxVoidItem InsertObjectChart SID_INSERT_DIAGRAM
71 SfxBoolItem InNewTable FN_PARAM_4,
72 SfxStringItem RangeList FN_PARAM_5
75 ExecMethod = ExecDrawIns ;
76 StateMethod = GetDrawInsState ;
80 SID_INSERT_SMATH [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
81 SID_GALLERY_FORMATS [ ExecMethod = ExecGallery; ]
82 SID_GALLERY [ ExecMethod = ExecChildWin; ]
83 SID_AVMEDIA_PLAYER [ ExecMethod = ExecChildWin; ]
84 SID_DRAW_NOTEEDIT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
85 SID_OBJECTRESIZE [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
87 SID_OBJECT_SELECT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
88 SID_DRAW_LINE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
89 SID_DRAW_XLINE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
90 SID_LINE_ARROW_END [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
91 SID_LINE_ARROW_CIRCLE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
92 SID_LINE_ARROW_SQUARE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
93 SID_LINE_ARROW_START [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
94 SID_LINE_CIRCLE_ARROW [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
95 SID_LINE_SQUARE_ARROW [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
96 SID_LINE_ARROWS [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
97 SID_DRAW_MEASURELINE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
98 SID_DRAWTBX_ARROWS [ StateMethod = GetDrawState; ]
99 SID_DRAW_RECT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
100 SID_DRAW_ELLIPSE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
101 SID_DRAWTBX_LINES [ StateMethod = GetDrawState; ]
102 SID_DRAW_POLYGON [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
103 SID_DRAW_POLYGON_NOFILL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
104 SID_DRAW_BEZIER_FILL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
105 SID_DRAW_BEZIER_NOFILL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
106 SID_DRAW_FREELINE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
107 SID_DRAW_FREELINE_NOFILL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
108 SID_DRAW_XPOLYGON [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
109 SID_DRAW_XPOLYGON_NOFILL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
110 SID_DRAW_ARC [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
111 SID_DRAW_PIE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
112 SID_DRAW_CIRCLECUT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
113 SID_DRAW_TEXT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
114 SID_DRAW_TEXT_VERTICAL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
115 SID_DRAW_TEXT_MARQUEE [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
116 SID_DRAW_CAPTION [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
117 SID_DRAW_CAPTION_VERTICAL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
119 SID_FONTWORK_GALLERY_FLOATER [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
120 SID_DRAWTBX_CS_BASIC [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
121 SID_DRAWTBX_CS_SYMBOL [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
122 SID_DRAWTBX_CS_ARROW [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
123 SID_DRAWTBX_CS_FLOWCHART [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
124 SID_DRAWTBX_CS_CALLOUT [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
125 SID_DRAWTBX_CS_STAR [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
126 SID_DRAW_CS_ID [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
128 SID_FM_CREATE_CONTROL [ ExecMethod = ExecDraw ; ]
129 SID_LINKS [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ]
130 SID_DRAW_CHART [ ExecMethod = ExecDraw; StateMethod = GetDrawState; ]
131 SID_FM_CREATE_FIELDCONTROL [ ExecMethod = ExecDrawIns ; ]
137 interface TableEditView
139 FID_TOGGLEINPUTLINE [ ExecMethod = Execute; StateMethod = GetState; ]
140 SID_DEFINE_PRINTAREA [ ExecMethod = Execute; StateMethod = GetState; ]
141 SID_ADD_PRINTAREA [ ExecMethod = Execute; StateMethod = GetState; ]
142 FID_ADJUST_PRINTZOOM [ ExecMethod = Execute; StateMethod = GetState; ]
144 SID_CURRENTDOC [ ExecMethod = Execute; StateMethod = GetState; ]
145 SID_WINDOW_SPLIT [ ExecMethod = Execute; StateMethod = GetState; ]
146 SID_WINDOW_FIX [ ExecMethod = Execute; StateMethod = GetState; ]
147 SID_WINDOW_FIX_ROW [ ExecMethod = Execute; StateMethod = GetState; ]
148 SID_WINDOW_FIX_COL [ ExecMethod = Execute; StateMethod = GetState; ]
151 ExecMethod = ExecuteSave ;
152 StateMethod = GetSaveState ;
156 ExecMethod = ExecuteSave ;
157 StateMethod = GetSaveState ;
159 // has indeed a SW in his name but is also used in Calc
160 SID_CREATE_SW_DRAWVIEW [ ExecMethod = Execute; ]
161 SID_ATTR_ZOOM [ ExecMethod = Execute; StateMethod = GetState; ]
162 SID_ATTR_ZOOMSLIDER [ ExecMethod = Execute; StateMethod = GetState; ]
163 SID_ZOOM_IN [ ExecMethod = Execute; StateMethod = GetState; ]
164 SID_ZOOM_OUT [ ExecMethod = Execute; StateMethod = GetState; ]
165 FID_INSERT_FILE [ ExecMethod = Execute; StateMethod = GetState; ]
167 FID_SCALE [ ExecMethod = Execute; StateMethod = GetState; ]
168 FID_FUNCTION_BOX [ ExecMethod = Execute; StateMethod = GetState; ]
169 FID_CHG_SHOW [ ExecMethod = Execute; StateMethod = GetState; ]
170 WID_SIMPLE_REF [ ExecMethod = Execute; StateMethod = NoState; ]
171 FID_CHG_ACCEPT [ ExecMethod = Execute; StateMethod = GetState; ]
172 FID_CHG_COMMENT [ ExecMethod = Execute; StateMethod = GetState; ]
174 FID_SCALESTATUS [ ExecMethod = Execute; StateMethod = GetState; ]
175 FID_TOGGLESYNTAX [ ExecMethod = Execute; StateMethod = GetState; ]
176 FID_HANDLEDUPLICATERECORDS [ ExecMethod = Execute; StateMethod = GetState; ]
177 FID_TOGGLECOLROWHIGHLIGHTING [ ExecMethod = Execute; StateMethod = GetState; ]
178 FID_TOGGLEHEADERS [ ExecMethod = Execute; StateMethod = GetState; ]
179 FID_TOGGLEFORMULA [ ExecMethod = Execute; StateMethod = GetState; ]
180 FID_NORMALVIEWMODE [ ExecMethod = Execute; StateMethod = GetState; ]
181 FID_PAGEBREAKMODE [ ExecMethod = Execute; StateMethod = GetState; ]
182 SID_REPAINT [ ExecMethod = Execute; StateMethod = GetState; ]
183 SID_CURRENTCELL [ ExecMethod = Execute; StateMethod = GetState; ]
184 SID_CURRENTOBJECT [ ExecMethod = Execute; StateMethod = GetState; ]
185 SID_JUMPTOMARK [ ExecMethod = Execute; StateMethod = NoState; ] // status(final|play)
187 SID_PRINTPREVIEW [ ExecMethod = Execute; StateMethod = GetState; ]
188 SID_THEME_DIALOG [ ExecMethod = Execute; StateMethod = GetState; ]
192 FID_SEARCH_NOW [ ExecMethod = ExecSearch; StateMethod = NoState; ]
193 SID_SEARCH_ITEM [ ExecMethod = ExecSearch; StateMethod = GetState; ]
194 SID_SEARCH_OPTIONS [ ExecMethod = NoExec; StateMethod = GetState; ]
195 // search/replace from Basic:
196 FID_SEARCH [ ExecMethod = ExecSearch; ]
197 FID_REPLACE [ ExecMethod = ExecSearch; ]
198 FID_SEARCH_ALL [ ExecMethod = ExecSearch; ]
199 FID_REPLACE_ALL [ ExecMethod = ExecSearch; ]
200 FID_REPEAT_SEARCH [ ExecMethod = ExecSearch; ]
202 SID_CURRENTTAB [ ExecMethod = Execute; StateMethod = GetState; ]
204 // view options for drawing layer are needed here because they
205 // can be set without a drawing object selected (#75361#)
206 SID_GRID_VISIBLE [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; ]
207 SID_GRID_USE [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; ]
208 SID_HELPLINES_MOVE [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; ]
210 SID_STYLE_FAMILY2 [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
211 SID_STYLE_FAMILY3 [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
212 SID_STYLE_FAMILY4 [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
213 SID_STYLE_APPLY [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
214 SID_STYLE_WATERCAN [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
215 SID_STYLE_NEW_BY_EXAMPLE [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
216 SID_STYLE_UPDATE_BY_EXAMPLE [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
217 SID_STYLE_NEW [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
218 SID_STYLE_EDIT [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
219 SID_STYLE_DELETE [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
220 SID_STYLE_HIDE [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
221 SID_STYLE_SHOW [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
223 SID_GETUNDOSTRINGS [ StateMethod = GetUndoState; ]
224 SID_GETREDOSTRINGS [ StateMethod = GetUndoState; ]
225 SID_UNDO [ ExecMethod = ExecuteUndo; StateMethod = GetUndoState; ]
226 SID_REDO [ ExecMethod = ExecuteUndo; StateMethod = GetUndoState; ]
228 SID_OPT_LOCALE_CHANGED [ ExecMethod = Execute; ]
230 SID_READONLY_MODE [ StateMethod = GetState; ]
237 import TableSelection "ActiveDocument.ActiveTable";
238 import TableOLEObject "SelectedObject";
239 import Tables "ActiveDocument.Tables";
240 import BaseSelection;
241 import TableEditView;
244 SID_STATUS_PAGESTYLE [ ExecMethod = Execute; StateMethod = GetState; ]
246 SID_TBXCTL_INSCELLS []