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 .
20 // support assign macro for shape objects
21 SID_ASSIGNMACRO [ ExecMethod = ExecDrawAttr; StateMethod = NoState; ]
24 FID_DEFINE_NAME [ StateMethod = StateDisableItems; ]
25 FID_ADD_NAME [ StateMethod = StateDisableItems; ]
26 SID_DEFINE_COLROWNAMERANGES [ StateMethod = StateDisableItems; ]
27 SID_OPENDLG_SOLVE [ StateMethod = StateDisableItems; ]
28 SID_OPENDLG_OPTSOLVER [ StateMethod = StateDisableItems; ]
29 SID_OPENDLG_PIVOTTABLE [ StateMethod = StateDisableItems; ]
30 SID_OPENDLG_TABOP [ StateMethod = StateDisableItems; ]
31 SID_FILTER [ StateMethod = StateDisableItems; ]
32 SID_SPECIAL_FILTER [ StateMethod = StateDisableItems; ]
33 SID_DEFINE_DBNAME [ StateMethod = StateDisableItems; ]
34 SID_OPENDLG_CONSOLIDATE [ StateMethod = StateDisableItems; ]
35 SID_OPENDLG_EDIT_PRINTAREA [ StateMethod = StateDisableItems; ]
37 SID_DRAW_CHART [ StateMethod = StateDisableItems; ]
38 SID_STYLE_FAMILY2 [ StateMethod = StateDisableItems; ]
39 SID_STYLE_FAMILY4 [ StateMethod = StateDisableItems; ]
40 SID_STYLE_APPLY [ StateMethod = StateDisableItems; ]
41 SID_STYLE_WATERCAN [ StateMethod = StateDisableItems; ]
42 SID_STYLE_NEW_BY_EXAMPLE [ StateMethod = StateDisableItems; ]
43 SID_STYLE_UPDATE_BY_EXAMPLE [ StateMethod = StateDisableItems; ]
44 SID_STYLE_NEW [ StateMethod = StateDisableItems; ]
45 SID_STYLE_EDIT [ StateMethod = StateDisableItems; ]
46 SID_STYLE_DELETE [ StateMethod = StateDisableItems; ]
47 SID_STYLE_HIDE [ StateMethod = StateDisableItems; ]
48 SID_STYLE_SHOW [ StateMethod = StateDisableItems; ]
51 SID_TEXT_STANDARD [ ExecMethod = ExecDrawAttr; StateMethod = NoState; ]
52 SID_DRAWTEXT_ATTR_DLG [ ExecMethod = ExecDrawAttr; StateMethod = NoState; ]
54 // ---- Slot-IDs for Objectbar:
55 SID_COLOR_TABLE [ StateMethod = GetDrawAttrState; ]
56 SID_GRADIENT_LIST [ StateMethod = GetDrawAttrState; ]
57 SID_HATCH_LIST [ StateMethod = GetDrawAttrState; ]
58 SID_BITMAP_LIST [ StateMethod = GetDrawAttrState; ]
59 SID_PATTERN_LIST [ StateMethod = GetDrawAttrState; ]
60 SID_DASH_LIST [ StateMethod = GetDrawAttrState; ]
61 SID_LINEEND_LIST [ StateMethod = GetDrawAttrState; ]
64 SID_ATTR_FILL_STYLE [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
69 ExecMethod = ExecDrawAttr;
70 StateMethod = GetDrawAttrState;
73 [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
74 SID_ATTR_SHADOW_TRANSPARENCE
75 [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
77 [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
78 SID_ATTR_SHADOW_XDISTANCE
79 [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
80 SID_ATTR_SHADOW_YDISTANCE
81 [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
83 SID_ATTR_FILL_COLOR [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
84 SID_ATTR_FILL_GRADIENT [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
85 SID_ATTR_FILL_HATCH [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
86 SID_ATTR_FILL_BITMAP [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
87 SID_ATTR_FILL_TRANSPARENCE [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
88 SID_ATTR_FILL_FLOATTRANSPARENCE [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
91 SID_ATTR_LINE_STYLE [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
92 SID_ATTR_LINEEND_STYLE [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; ]
93 SID_ATTR_LINE_START [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
94 SID_ATTR_LINE_END [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
95 SID_ATTR_LINE_DASH [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
96 SID_ATTR_LINE_WIDTH [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
97 SID_ATTR_LINE_COLOR [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
98 SID_ATTR_LINE_TRANSPARENCE [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
99 SID_ATTR_LINE_JOINT [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
100 SID_ATTR_LINE_CAP [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
101 SID_ATTRIBUTES_AREA [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; ]
102 SID_ATTRIBUTES_LINE [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; ]
103 SID_MEASURE_DLG [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; ]
104 SID_ATTR_TRANSFORM [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; ]
107 SID_ATTR_TRANSFORM_WIDTH [ StateMethod = GetDrawAttrStateForIFBX; ]
108 SID_ATTR_TRANSFORM_HEIGHT [ StateMethod = GetDrawAttrStateForIFBX; ]
109 SID_ATTR_TRANSFORM_POS_X [ StateMethod = GetDrawAttrStateForIFBX; ]
110 SID_ATTR_TRANSFORM_POS_Y [ StateMethod = GetDrawAttrStateForIFBX; ]
111 SID_ATTR_TRANSFORM_ANGLE [ StateMethod = GetDrawAttrStateForIFBX; ]
112 SID_ATTR_TRANSFORM_ROT_X [ StateMethod = GetDrawAttrStateForIFBX; ]
113 SID_ATTR_TRANSFORM_ROT_Y [ StateMethod = GetDrawAttrStateForIFBX; ]
114 SID_ATTR_TRANSFORM_PROTECT_POS [ StateMethod = GetDrawAttrStateForIFBX; ]
115 SID_ATTR_TRANSFORM_PROTECT_SIZE [ StateMethod = GetDrawAttrStateForIFBX; ]
116 SID_ATTR_TRANSFORM_AUTOWIDTH [ StateMethod = GetDrawAttrStateForIFBX; ]
117 SID_ATTR_TRANSFORM_AUTOHEIGHT [ StateMethod = GetDrawAttrStateForIFBX; ]
119 // alignment functions:
120 SID_OBJECT_ALIGN [ StateMethod = GetDrawFuncState; ]
121 SID_OBJECT_ALIGN_LEFT [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
122 SID_OBJECT_ALIGN_CENTER [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
123 SID_OBJECT_ALIGN_RIGHT [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
124 SID_OBJECT_ALIGN_UP [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
125 SID_OBJECT_ALIGN_MIDDLE [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
126 SID_OBJECT_ALIGN_DOWN [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
128 // pseudo slots from Format menu
129 SID_ALIGN_ANY_LEFT [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
130 SID_ALIGN_ANY_HCENTER [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
131 SID_ALIGN_ANY_RIGHT [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
132 SID_ALIGN_ANY_TOP [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
133 SID_ALIGN_ANY_VCENTER [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
134 SID_ALIGN_ANY_BOTTOM [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
137 SID_OBJECT_HEAVEN [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
138 SID_OBJECT_HELL [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
139 SID_FRAME_TO_TOP [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
140 SID_FRAME_TO_BOTTOM [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
141 SID_FRAME_UP [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
142 SID_FRAME_DOWN [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
143 SID_GROUP [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
144 SID_UNGROUP [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
145 SID_ENTER_GROUP [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
146 SID_LEAVE_GROUP [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
148 SID_DELETE [ExecMethod = ExecDrawFunc ;StateMethod = GetDrawFuncState; ]
150 SID_DELETE_CONTENTS [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
151 SID_CUT [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
152 SID_COPY [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
153 SID_PASTE [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
154 SID_SELECTALL [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
155 SID_OBJECT_ROTATE [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
156 SID_OBJECT_MIRROR [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
157 SID_BEZIER_EDIT [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
158 SID_MIRROR_HORIZONTAL[ ExecMethod = ExecDrawFunc;StateMethod = GetDrawFuncState; ]
159 SID_MIRROR_VERTICAL [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
160 SID_FLIP_HORIZONTAL [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
161 SID_FLIP_VERTICAL [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
162 SID_ANCHOR_MENU [ StateMethod = GetDrawFuncState; ]
163 SID_ANCHOR_PAGE [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
164 SID_ANCHOR_TOGGLE [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
165 SID_ANCHOR_CELL [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
166 SID_ANCHOR_CELL_RESIZE [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
168 SID_FONTWORK [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
169 SID_FORMTEXT_STYLE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
170 SID_FORMTEXT_ADJUST [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
171 SID_FORMTEXT_DISTANCE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
172 SID_FORMTEXT_START [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
173 SID_FORMTEXT_MIRROR [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
174 SID_FORMTEXT_HIDEFORM [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
175 SID_FORMTEXT_OUTLINE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
176 SID_FORMTEXT_SHADOW [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
177 SID_FORMTEXT_SHDWCOLOR [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
178 SID_FORMTEXT_SHDWXVAL [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
179 SID_FORMTEXT_SHDWYVAL [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
180 SID_ATTR_POSITION [ StateMethod = GetDrawAttrState; ]
181 SID_ATTR_SIZE [ StateMethod = GetDrawAttrState; ]
182 SID_TABLE_CELL [ StateMethod = GetDrawAttrState; ]
183 SID_ORIGINALSIZE [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
184 SID_FITCELLSIZE [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
185 SID_HYPERLINK_SETLINK [ ExecMethod = ExecuteHLink; ]
186 SID_HYPERLINK_GETLINK [ StateMethod = GetHLinkState; ]
187 SID_ENABLE_HYPHENATION [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
190 SID_TITLE_DESCRIPTION_OBJECT [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
191 SID_RENAME_OBJECT [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
193 SID_FORMATPAINTBRUSH [ ExecMethod = ExecFormatPaintbrush; StateMethod = StateFormatPaintbrush; ]
195 SID_OPEN_XML_FILTERSETTINGS [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
196 SID_EXTRUSION_TOGGLE [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
197 SID_EXTRUSION_TILT_DOWN [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
198 SID_EXTRUSION_TILT_UP [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
199 SID_EXTRUSION_TILT_LEFT [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
200 SID_EXTRUSION_TILT_RIGHT [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
201 SID_EXTRUSION_DEPTH_FLOATER [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
202 SID_EXTRUSION_DEPTH_DIALOG [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
203 SID_EXTRUSION_DIRECTION_FLOATER [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
204 SID_EXTRUSION_LIGHTING_FLOATER [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
205 SID_EXTRUSION_SURFACE_FLOATER [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
206 SID_EXTRUSION_3D_COLOR [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
207 SID_EXTRUSION_DEPTH [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
208 SID_EXTRUSION_DIRECTION [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
209 SID_EXTRUSION_PROJECTION [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
210 SID_EXTRUSION_LIGHTING_DIRECTION[ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
211 SID_EXTRUSION_LIGHTING_INTENSITY[ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
212 SID_EXTRUSION_SURFACE [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
214 SID_FONTWORK_SHAPE [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
215 SID_FONTWORK_SHAPE_TYPE [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
216 SID_FONTWORK_ALIGNMENT_FLOATER [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
217 SID_FONTWORK_CHARACTER_SPACING_FLOATER [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
218 SID_FONTWORK_ALIGNMENT [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
219 SID_FONTWORK_SAME_LETTER_HEIGHTS [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
220 SID_FONTWORK_CHARACTER_SPACING [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
221 SID_FONTWORK_KERN_CHARACTER_PAIRS [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
222 SID_FONTWORK_CHARACTER_SPACING_DIALOG [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
224 SID_DRAW_HLINK_EDIT [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; ]
225 SID_DRAW_HLINK_DELETE [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; ]
226 SID_OPEN_HYPERLINK [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; ]
228 SID_ATTR_GLOW_COLOR [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
229 SID_ATTR_GLOW_RADIUS [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
230 SID_ATTR_GLOW_TRANSPARENCY [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
232 SID_ATTR_SOFTEDGE_RADIUS [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
233 SID_MOVE_SHAPE_HANDLE [ ExecMethod = ExecDrawAttr; ]
234 SID_ATTR_TEXTCOLUMNS_NUMBER [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
235 SID_ATTR_TEXTCOLUMNS_SPACING [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]