android: Update app-specific/MIME type icons
[LibreOffice.git] / sc / sdi / drawsh.sdi
blob668608c549abd0d25334fc207d06c71f29a8ca55
1 /*
2  * This file is part of the LibreOffice project.
3  *
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/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
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 .
17  */
18 interface TableDraw
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; ]
36     // others:
37     SID_DRAW_CHART              [ StateMethod = StateDisableItems; ]
39     SID_TEXT_STANDARD       [ ExecMethod = ExecDrawAttr; StateMethod = NoState; ]
40     SID_CELL_FORMAT_RESET   [ ExecMethod = ExecDrawAttr; StateMethod = NoState; ]
41     SID_DRAWTEXT_ATTR_DLG   [ ExecMethod = ExecDrawAttr; StateMethod = NoState; ]
43     // ---- Slot-IDs for Objectbar:
44     SID_COLOR_TABLE         [ StateMethod = GetDrawAttrState; ]
45     SID_GRADIENT_LIST       [ StateMethod = GetDrawAttrState; ]
46     SID_HATCH_LIST          [ StateMethod = GetDrawAttrState; ]
47     SID_BITMAP_LIST         [ StateMethod = GetDrawAttrState; ]
48     SID_PATTERN_LIST        [ StateMethod = GetDrawAttrState; ]
49     SID_DASH_LIST           [ StateMethod = GetDrawAttrState; ]
50     SID_LINEEND_LIST        [ StateMethod = GetDrawAttrState; ]
52     // area attributes
53     SID_ATTR_FILL_STYLE     [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
55     // #i25616#
56     SID_ATTR_FILL_SHADOW
57     [
58         ExecMethod = ExecDrawAttr;
59         StateMethod = GetDrawAttrState;
60     ]
61     SID_ATTR_SHADOW_COLOR
62     [   ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
63     SID_ATTR_SHADOW_TRANSPARENCE
64     [   ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
65     SID_ATTR_SHADOW_BLUR
66     [   ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
67     SID_ATTR_SHADOW_XDISTANCE
68     [   ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
69     SID_ATTR_SHADOW_YDISTANCE
70     [   ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
72     SID_ATTR_FILL_COLOR     [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
73     SID_ATTR_FILL_GRADIENT  [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
74     SID_ATTR_FILL_HATCH     [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
75     SID_ATTR_FILL_BITMAP    [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
76     SID_ATTR_FILL_TRANSPARENCE [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
77     SID_ATTR_FILL_FLOATTRANSPARENCE [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
79     // lines attributes:
80     SID_ATTR_LINE_STYLE     [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
81     SID_ATTR_LINEEND_STYLE  [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; ]
82     SID_ATTR_LINE_START [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
83     SID_ATTR_LINE_END [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
84     SID_ATTR_LINE_DASH      [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
85     SID_ATTR_LINE_WIDTH     [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
86     SID_ATTR_LINE_COLOR     [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
87     SID_ATTR_LINE_TRANSPARENCE [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
88     SID_ATTR_LINE_JOINT [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
89     SID_ATTR_LINE_CAP [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
90     SID_ATTRIBUTES_AREA     [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; ]
91     SID_ATTRIBUTES_LINE     [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; ]
92     SID_MEASURE_DLG         [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; ]
93     SID_ATTR_TRANSFORM      [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; ]
95     // For the sidebar
96     SID_ATTR_TRANSFORM_WIDTH    [ StateMethod = GetDrawAttrStateForIFBX; ]
97     SID_ATTR_TRANSFORM_HEIGHT   [ StateMethod = GetDrawAttrStateForIFBX; ]
98     SID_ATTR_TRANSFORM_POS_X    [ StateMethod = GetDrawAttrStateForIFBX; ]
99     SID_ATTR_TRANSFORM_POS_Y    [ StateMethod = GetDrawAttrStateForIFBX; ]
100     SID_ATTR_TRANSFORM_ANGLE    [ StateMethod = GetDrawAttrStateForIFBX; ]
101     SID_ATTR_TRANSFORM_ROT_X    [ StateMethod = GetDrawAttrStateForIFBX; ]
102     SID_ATTR_TRANSFORM_ROT_Y    [ StateMethod = GetDrawAttrStateForIFBX; ]
103     SID_ATTR_TRANSFORM_PROTECT_POS  [ StateMethod = GetDrawAttrStateForIFBX; ]
104     SID_ATTR_TRANSFORM_PROTECT_SIZE [ StateMethod = GetDrawAttrStateForIFBX; ]
105     SID_ATTR_TRANSFORM_AUTOWIDTH [ StateMethod = GetDrawAttrStateForIFBX; ]
106     SID_ATTR_TRANSFORM_AUTOHEIGHT [ StateMethod = GetDrawAttrStateForIFBX; ]
108     // alignment functions:
109     SID_OBJECT_ALIGN        [ StateMethod = GetDrawFuncState; ]
110     SID_OBJECT_ALIGN_LEFT   [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
111     SID_OBJECT_ALIGN_CENTER [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
112     SID_OBJECT_ALIGN_RIGHT  [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
113     SID_OBJECT_ALIGN_UP     [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
114     SID_OBJECT_ALIGN_MIDDLE [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
115     SID_OBJECT_ALIGN_DOWN   [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
117     // pseudo slots from Format menu
118     SID_ALIGN_ANY_LEFT      [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
119     SID_ALIGN_ANY_HCENTER   [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
120     SID_ALIGN_ANY_RIGHT     [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
121     SID_ALIGN_ANY_TOP       [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
122     SID_ALIGN_ANY_VCENTER   [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
123     SID_ALIGN_ANY_BOTTOM    [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
125     // other functions:
126     SID_OBJECT_HEAVEN   [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
127     SID_OBJECT_HELL     [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
128     SID_FRAME_TO_TOP    [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
129     SID_FRAME_TO_BOTTOM [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
130     SID_FRAME_UP        [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
131     SID_FRAME_DOWN      [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
132     SID_GROUP           [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
133     SID_UNGROUP         [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
134     SID_ENTER_GROUP     [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
135     SID_LEAVE_GROUP     [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
136     SID_REGENERATE_DIAGRAM [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState ]
137     SID_EDIT_DIAGRAM    [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState ]
138     // !!! special
139     SID_DELETE          [ExecMethod = ExecDrawFunc ;StateMethod = GetDrawFuncState; ]
141     SID_DELETE_CONTENTS [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
142     SID_CUT             [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
143     SID_COPY            [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
144     SID_PASTE           [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
145     SID_SELECTALL       [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
146     SID_OBJECT_ROTATE   [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
147     SID_OBJECT_MIRROR   [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
148     SID_BEZIER_EDIT     [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
149     SID_MIRROR_HORIZONTAL[ ExecMethod = ExecDrawFunc;StateMethod = GetDrawFuncState; ]
150     SID_MIRROR_VERTICAL     [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
151     SID_FLIP_HORIZONTAL     [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
152     SID_FLIP_VERTICAL       [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
153     SID_ANCHOR_MENU         [ StateMethod = GetDrawFuncState; ]
154     SID_ANCHOR_PAGE         [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
155     SID_ANCHOR_TOGGLE       [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
156     SID_ANCHOR_CELL         [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
157     SID_ANCHOR_CELL_RESIZE  [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
158     // FontWork:
159     SID_FONTWORK            [ ExecMethod = ExecDrawFunc; StateMethod = GetState; ]
160     SID_FORMTEXT_STYLE      [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
161     SID_FORMTEXT_ADJUST     [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
162     SID_FORMTEXT_DISTANCE   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
163     SID_FORMTEXT_START      [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
164     SID_FORMTEXT_MIRROR     [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
165     SID_FORMTEXT_HIDEFORM   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
166     SID_FORMTEXT_OUTLINE    [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
167     SID_FORMTEXT_SHADOW     [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
168     SID_FORMTEXT_SHDWCOLOR  [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
169     SID_FORMTEXT_SHDWXVAL   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
170     SID_FORMTEXT_SHDWYVAL   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; ]
171     SID_ATTR_POSITION       [ StateMethod = GetDrawAttrState; ]
172     SID_ATTR_SIZE           [ StateMethod = GetDrawAttrState; ]
173     SID_TABLE_CELL          [ StateMethod = GetDrawAttrState; ]
174     SID_ORIGINALSIZE        [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
175     SID_FITCELLSIZE         [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
176     SID_HYPERLINK_SETLINK   [ ExecMethod = ExecuteHLink; ]
177     SID_HYPERLINK_GETLINK   [ StateMethod = GetHLinkState; ]
178     SID_ENABLE_HYPHENATION  [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
180     // #i68101#
181     SID_TITLE_DESCRIPTION_OBJECT [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
182     SID_RENAME_OBJECT       [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; ]
184     SID_FORMATPAINTBRUSH    [ ExecMethod = ExecFormatPaintbrush; StateMethod = StateFormatPaintbrush; ]
186     SID_OPEN_XML_FILTERSETTINGS     [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
187     SID_EXTRUSION_TOGGLE            [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
188     SID_EXTRUSION_TILT_DOWN         [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
189     SID_EXTRUSION_TILT_UP           [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
190     SID_EXTRUSION_TILT_LEFT         [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
191     SID_EXTRUSION_TILT_RIGHT        [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
192     SID_EXTRUSION_DEPTH_FLOATER     [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
193     SID_EXTRUSION_DEPTH_DIALOG      [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
194     SID_EXTRUSION_DIRECTION_FLOATER [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
195     SID_EXTRUSION_LIGHTING_FLOATER  [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
196     SID_EXTRUSION_SURFACE_FLOATER   [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
197     SID_EXTRUSION_3D_COLOR          [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
198     SID_EXTRUSION_DEPTH             [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
199     SID_EXTRUSION_DIRECTION         [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
200     SID_EXTRUSION_PROJECTION        [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
201     SID_EXTRUSION_LIGHTING_DIRECTION[ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
202     SID_EXTRUSION_LIGHTING_INTENSITY[ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
203     SID_EXTRUSION_SURFACE           [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
205     SID_FONTWORK_SHAPE                      [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
206     SID_FONTWORK_SHAPE_TYPE                 [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
207     SID_FONTWORK_ALIGNMENT_FLOATER          [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
208     SID_FONTWORK_CHARACTER_SPACING_FLOATER  [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
209     SID_FONTWORK_ALIGNMENT                  [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
210     SID_FONTWORK_SAME_LETTER_HEIGHTS        [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
211     SID_FONTWORK_CHARACTER_SPACING          [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
212     SID_FONTWORK_KERN_CHARACTER_PAIRS       [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
213     SID_FONTWORK_CHARACTER_SPACING_DIALOG   [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
215     SID_EDIT_HYPERLINK              [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; ]
216     SID_REMOVE_HYPERLINK            [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; ]
217     SID_OPEN_HYPERLINK              [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; ]
218     SID_COPY_HYPERLINK_LOCATION     [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; ]
220     SID_ATTR_GLOW_COLOR             [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
221     SID_ATTR_GLOW_RADIUS            [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
222     SID_ATTR_GLOW_TRANSPARENCY      [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
224     SID_ATTR_SOFTEDGE_RADIUS        [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
225     SID_MOVE_SHAPE_HANDLE           [ ExecMethod = ExecDrawAttr; ]
226     SID_ATTR_TEXTCOLUMNS_NUMBER     [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
227     SID_ATTR_TEXTCOLUMNS_SPACING    [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; ]
232 shell ScDrawShell
234     import TableDraw;