sync master with lastest vba changes
[ooovba.git] / sc / sdi / drawsh.sdi
blob3c860f9bcbf10ca4616f80c76e81e32cf2ff389e
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: drawsh.sdi,v $
10  * $Revision: 1.21 $
11  *
12  * This file is part of OpenOffice.org.
13  *
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.
17  *
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).
23  *
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.
28  *
29  ************************************************************************/
30 interface TableDraw
32     // support assign macro for shape objects
33     SID_ASSIGNMACRO             [ ExecMethod = ExecDrawAttr; StateMethod = NoState; Export = FALSE; ]
35          //     Drawing geht von Basic aus gar nicht, darum alles mit Export = FALSE
37         FID_DEFINE_NAME                         [ StateMethod = StateDisableItems; Export = FALSE; ]
38         SID_DEFINE_COLROWNAMERANGES     [ StateMethod = StateDisableItems; Export = FALSE; ]
39         SID_OPENDLG_SOLVE                       [ StateMethod = StateDisableItems; Export = FALSE; ]
40     SID_OPENDLG_OPTSOLVER       [ StateMethod = StateDisableItems; Export = FALSE; ]
41         SID_OPENDLG_PIVOTTABLE          [ StateMethod = StateDisableItems; Export = FALSE; ]
42         SID_OPENDLG_TABOP                       [ StateMethod = StateDisableItems; Export = FALSE; ]
43         SID_FILTER                                      [ StateMethod = StateDisableItems; Export = FALSE; ]
44         SID_SPECIAL_FILTER                      [ StateMethod = StateDisableItems; Export = FALSE; ]
45         SID_DEFINE_DBNAME                       [ StateMethod = StateDisableItems; Export = FALSE; ]
46         SID_OPENDLG_CONSOLIDATE         [ StateMethod = StateDisableItems; Export = FALSE; ]
47         SID_OPENDLG_EDIT_PRINTAREA      [ StateMethod = StateDisableItems; Export = FALSE; ]
48          //     andere:
49         SID_DRAW_CHART                          [ StateMethod = StateDisableItems; Export = FALSE; ]
50          //!    SID_STYLE_DESIGNER      [ StateMethod = StateDisableItems; Export = FALSE; ]
51         SID_STYLE_CATALOG                       [ StateMethod = StateDisableItems; Export = FALSE; ]
52          //!    SID_OPENDLG_FUNCTION[ StateMethod = StateDisableItems; Export = FALSE; ]
53         SID_STYLE_FAMILY2                       [ StateMethod = StateDisableItems; Export = FALSE; ]
54         SID_STYLE_FAMILY4                       [ StateMethod = StateDisableItems; Export = FALSE; ]
55         SID_STYLE_APPLY                         [ StateMethod = StateDisableItems; Export = FALSE; ]
56         SID_STYLE_WATERCAN                      [ StateMethod = StateDisableItems; Export = FALSE; ]
57         SID_STYLE_NEW_BY_EXAMPLE        [ StateMethod = StateDisableItems; Export = FALSE; ]
58         SID_STYLE_UPDATE_BY_EXAMPLE [ StateMethod = StateDisableItems; Export = FALSE; ]
59         SID_STYLE_NEW                           [ StateMethod = StateDisableItems; Export = FALSE; ]
60         SID_STYLE_EDIT                          [ StateMethod = StateDisableItems; Export = FALSE; ]
61         SID_STYLE_DELETE                        [ StateMethod = StateDisableItems; Export = FALSE; ]
63          //----------------------------------------------------------------------------
64         SID_TEXT_STANDARD               [ ExecMethod = ExecDrawAttr; StateMethod = NoState; Export = FALSE; ]
65         SID_DRAWTEXT_ATTR_DLG   [ ExecMethod = ExecDrawAttr; StateMethod = NoState; Export = FALSE; ]
67          // ---- Slot-IDs fuer Objectbar:
68         SID_COLOR_TABLE         [ StateMethod = GetDrawAttrState; Export = FALSE; ]
69     SID_GRADIENT_LIST           [ StateMethod = GetDrawAttrState; Export = FALSE; ]
70     SID_HATCH_LIST                      [ StateMethod = GetDrawAttrState; Export = FALSE; ]
71     SID_BITMAP_LIST             [ StateMethod = GetDrawAttrState; Export = FALSE; ]
72     SID_DASH_LIST                       [ StateMethod = GetDrawAttrState; Export = FALSE; ]
73     SID_LINEEND_LIST            [ StateMethod = GetDrawAttrState; Export = FALSE; ]
74          // Flaechen-Attribute
75         SID_ATTR_FILL_STYLE             [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; Export = FALSE; ]
77         // #i25616#
78         SID_ATTR_FILL_SHADOW
79         [
80                 ExecMethod = ExecDrawAttr;
81                 StateMethod = GetDrawAttrState;
82                 Export = FALSE;
83         ]
85         SID_ATTR_FILL_COLOR             [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; Export = FALSE; ]
86         SID_ATTR_FILL_GRADIENT  [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; Export = FALSE; ]
87         SID_ATTR_FILL_HATCH             [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; Export = FALSE; ]
88         SID_ATTR_FILL_BITMAP    [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; Export = FALSE; ]
89          // ---- Linien-Attribute:
90         SID_ATTR_LINE_STYLE             [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; Export = FALSE; ]
91         SID_ATTR_LINEEND_STYLE  [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; Export = FALSE; ]
92         SID_ATTR_LINE_DASH              [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; Export = FALSE; ]
93         SID_ATTR_LINE_WIDTH             [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; Export = FALSE; ]
94         SID_ATTR_LINE_COLOR             [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawAttrState; Export = FALSE; ]
95         SID_ATTRIBUTES_AREA             [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; Export = FALSE; ]
96         SID_ATTRIBUTES_LINE             [ ExecMethod = ExecDrawAttr; StateMethod = GetAttrFuncState; Export = FALSE; ]
97         SID_ATTR_TRANSFORM              [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; Export = FALSE; ]
98          // ---- Ausrichtungs - Funktionen:
99          //!    PseudoSlots gibt Aerger mit Referenz-Dialogen ???
100         SID_OBJECT_ALIGN
101         [
102                  //             PseudoSlots = TRUE;
103                 PseudoSlots = FALSE ;
104                 Export = FALSE ;
105                  //             PseudoPrefix = SID_OBJECT_ALIGN;
106                 ExecMethod = ExecDrawFunc ;
107                 StateMethod = NoState ;
108                 GroupId = GID_FORMAT ;
109                 FastCall , Cachable ;
110                 ToolBoxConfig ;
111         ]
112         SID_OBJECT_ALIGN_LEFT   [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
113         SID_OBJECT_ALIGN_CENTER [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
114         SID_OBJECT_ALIGN_RIGHT  [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
115         SID_OBJECT_ALIGN_UP             [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
116         SID_OBJECT_ALIGN_MIDDLE [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
117         SID_OBJECT_ALIGN_DOWN   [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
119         // pseudo slots from Format menu
120         SID_ALIGN_ANY_LEFT      [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
121     SID_ALIGN_ANY_HCENTER       [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
122     SID_ALIGN_ANY_RIGHT         [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
123     SID_ALIGN_ANY_TOP           [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
124     SID_ALIGN_ANY_VCENTER   [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
125     SID_ALIGN_ANY_BOTTOM    [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
127          // ---- andere Funktionen:
128         SID_OBJECT_HEAVEN       [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
129         SID_OBJECT_HELL         [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
130         SID_FRAME_TO_TOP        [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
131         SID_FRAME_TO_BOTTOM     [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
132         SID_FRAME_UP            [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
133         SID_FRAME_DOWN          [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
134         SID_GROUP                       [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
135         SID_UNGROUP                     [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
136         SID_ENTER_GROUP         [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
137         SID_LEAVE_GROUP         [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
138          // !!! special
139         SID_DELETE                      [ExecMethod = ExecDrawFunc ;StateMethod = GetDrawFuncState; Export = FALSE ;]
141         /*
142         SfxVoidItem Delete SID_DELETE ( )
143         [
144                 ExecMethod = ExecDrawFunc ;
145                 StateMethod = GetDrawFuncState ;
146                 Export = FALSE ;
147                 GroupId = GID_EDIT ;
148                 FastCall , Cachable ;
149                 ToolBoxConfig , MenuConfig , AccelConfig ;
150         ]
151         */
152         SID_DELETE_CONTENTS     [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
153         SID_CUT                         [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
154         SID_COPY                        [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
155         SID_SELECTALL           [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
156         SID_OBJECT_ROTATE       [ ExecMethod = ExecDrawFunc; StateMethod = GetState; Export = FALSE; ]
157         SID_OBJECT_MIRROR       [ ExecMethod = ExecDrawFunc; StateMethod = GetState; Export = FALSE; ]
158         SID_BEZIER_EDIT         [ ExecMethod = ExecDrawFunc; StateMethod = GetState; Export = FALSE; ]
159         SID_MIRROR_HORIZONTAL[ ExecMethod = ExecDrawFunc;StateMethod = GetDrawFuncState; Export = FALSE; ]
160         /*
161         SfxVoidItem ObjectMirrorHorizontal SID_MIRROR_HORIZONTAL ( )
162         [
163                 StateMethod = GetDrawFuncState ;
164                 Export = FALSE ;
165                 GroupId = GID_FORMAT ;
166                 Cachable ;
167                 MenuConfig ;  //FS
168         ]
169         */
170         SID_MIRROR_VERTICAL             [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
171         SID_ANCHOR_PAGE                 [ ExecMethod = ExecDrawFunc; StateMethod = GetState; Export = FALSE; ]
172         SID_ANCHOR_TOGGLE               [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
173         SID_ANCHOR_CELL                 [ ExecMethod = ExecDrawFunc; StateMethod = GetState; Export = FALSE; ]
174          // ---- FontWork:
175         SID_FONTWORK                    [ ExecMethod = ExecDrawFunc; StateMethod = GetState; Export = FALSE; ]
176         SID_FORMTEXT_STYLE              [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
177         SID_FORMTEXT_ADJUST             [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
178         SID_FORMTEXT_DISTANCE   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
179         SID_FORMTEXT_START              [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
180         SID_FORMTEXT_MIRROR             [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
181         SID_FORMTEXT_HIDEFORM   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
182         SID_FORMTEXT_OUTLINE    [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
183         SID_FORMTEXT_SHADOW             [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
184         SID_FORMTEXT_SHDWCOLOR  [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
185         SID_FORMTEXT_SHDWXVAL   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
186         SID_FORMTEXT_SHDWYVAL   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
187         SID_FORMTEXT_STDFORM    [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
188         SID_ATTR_POSITION               [ StateMethod = GetDrawAttrState; Export = FALSE; ]
189         SID_ATTR_SIZE                   [ StateMethod = GetDrawAttrState; Export = FALSE; ]
190         SID_TABLE_CELL                  [ StateMethod = GetDrawAttrState; Export = FALSE; ]
191         SID_ORIGINALSIZE                [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
192         SID_HYPERLINK_SETLINK   [ ExecMethod = ExecuteHLink; Export = FALSE; ]
193         SID_HYPERLINK_GETLINK   [ StateMethod = GetHLinkState; Export = FALSE; ]
194         SID_ENABLE_HYPHENATION  [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
196     // #i68101#
197     SID_TITLE_DESCRIPTION_OBJECT [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
198         SID_RENAME_OBJECT               [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ]
200     SID_FORMATPAINTBRUSH    [ ExecMethod = ExecFormatPaintbrush; StateMethod = StateFormatPaintbrush; ]
202     SID_OPEN_XML_FILTERSETTINGS         [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
203     SID_EXTRUSION_TOOGLE                        [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
204     SID_EXTRUSION_TILT_DOWN                     [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
205     SID_EXTRUSION_TILT_UP                       [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
206     SID_EXTRUSION_TILT_LEFT                     [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
207     SID_EXTRUSION_TILT_RIGHT            [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
208     SID_EXTRUSION_DEPTH_FLOATER         [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
209     SID_EXTRUSION_DEPTH_DIALOG          [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
210     SID_EXTRUSION_DIRECTION_FLOATER [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
211     SID_EXTRUSION_LIGHTING_FLOATER      [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
212     SID_EXTRUSION_SURFACE_FLOATER       [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
213         SID_EXTRUSION_3D_COLOR                  [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
214     SID_EXTRUSION_DEPTH                         [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
215     SID_EXTRUSION_DIRECTION                     [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
216     SID_EXTRUSION_PROJECTION            [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
217     SID_EXTRUSION_LIGHTING_DIRECTION[ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
218     SID_EXTRUSION_LIGHTING_INTENSITY[ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
219         SID_EXTRUSION_SURFACE                   [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
221         SID_FONTWORK_SHAPE                                              [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
222     SID_FONTWORK_SHAPE_TYPE                                     [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
223     SID_FONTWORK_ALIGNMENT_FLOATER                      [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
224     SID_FONTWORK_CHARACTER_SPACING_FLOATER      [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
225         SID_FONTWORK_ALIGNMENT                                  [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
226         SID_FONTWORK_SAME_LETTER_HEIGHTS                [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
227         SID_FONTWORK_CHARACTER_SPACING                  [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
228         SID_FONTWORK_KERN_CHARACTER_PAIRS               [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
229     SID_FONTWORK_CHARACTER_SPACING_DIALOG       [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
231 // ISSUE66550_HLINK_FOR_SHAPES
232     SID_DRAW_HLINK_EDIT             [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; Export = FALSE; ]
233     SID_DRAW_HLINK_DELETE           [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; Export = FALSE; ]
234     SID_OPEN_HYPERLINK              [ ExecMethod = ExecDrawAttr; StateMethod = GetDrawFuncState; Export = FALSE; ]
238  // ===========================================================================
239 shell ScDrawShell
241         import TableDraw;