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