1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweirinterface TableDrawText 28*cdf0e10cSrcweir{ 29*cdf0e10cSrcweir // Drawing geht von Basic aus gar nicht, darum alles mit Export = FALSE 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir // alle Referenz-Eingabe-Dialoge: 32*cdf0e10cSrcweir FID_DEFINE_NAME [ StateMethod = StateDisableItems; Export = FALSE; ] 33*cdf0e10cSrcweir SID_DEFINE_COLROWNAMERANGES [ StateMethod = StateDisableItems; Export = FALSE; ] 34*cdf0e10cSrcweir SID_OPENDLG_SOLVE [ StateMethod = StateDisableItems; Export = FALSE; ] 35*cdf0e10cSrcweir SID_OPENDLG_OPTSOLVER [ StateMethod = StateDisableItems; Export = FALSE; ] 36*cdf0e10cSrcweir SID_OPENDLG_PIVOTTABLE [ StateMethod = StateDisableItems; Export = FALSE; ] 37*cdf0e10cSrcweir SID_OPENDLG_TABOP [ StateMethod = StateDisableItems; Export = FALSE; ] 38*cdf0e10cSrcweir SID_FILTER [ StateMethod = StateDisableItems; Export = FALSE; ] 39*cdf0e10cSrcweir SID_SPECIAL_FILTER [ StateMethod = StateDisableItems; Export = FALSE; ] 40*cdf0e10cSrcweir SID_DEFINE_DBNAME [ StateMethod = StateDisableItems; Export = FALSE; ] 41*cdf0e10cSrcweir SID_OPENDLG_CONSOLIDATE [ StateMethod = StateDisableItems; Export = FALSE; ] 42*cdf0e10cSrcweir SID_OPENDLG_EDIT_PRINTAREA [ StateMethod = StateDisableItems; Export = FALSE; ] 43*cdf0e10cSrcweir // andere: 44*cdf0e10cSrcweir SID_DRAW_CHART [ StateMethod = StateDisableItems; Export = FALSE; ] 45*cdf0e10cSrcweir SID_STYLE_CATALOG [ StateMethod = StateDisableItems; Export = FALSE; ] 46*cdf0e10cSrcweir SID_OPENDLG_FUNCTION [ StateMethod = StateDisableItems; Export = FALSE; ] 47*cdf0e10cSrcweir SID_STYLE_FAMILY2 [ StateMethod = StateDisableItems; Export = FALSE; ] 48*cdf0e10cSrcweir SID_STYLE_FAMILY4 [ StateMethod = StateDisableItems; Export = FALSE; ] 49*cdf0e10cSrcweir SID_STYLE_APPLY [ StateMethod = StateDisableItems; Export = FALSE; ] 50*cdf0e10cSrcweir SID_STYLE_WATERCAN [ StateMethod = StateDisableItems; Export = FALSE; ] 51*cdf0e10cSrcweir SID_STYLE_NEW_BY_EXAMPLE [ StateMethod = StateDisableItems; Export = FALSE; ] 52*cdf0e10cSrcweir SID_STYLE_UPDATE_BY_EXAMPLE [ StateMethod = StateDisableItems; Export = FALSE; ] 53*cdf0e10cSrcweir SID_STYLE_NEW [ StateMethod = StateDisableItems; Export = FALSE; ] 54*cdf0e10cSrcweir SID_STYLE_EDIT [ StateMethod = StateDisableItems; Export = FALSE; ] 55*cdf0e10cSrcweir SID_STYLE_DELETE [ StateMethod = StateDisableItems; Export = FALSE; ] 56*cdf0e10cSrcweir 57*cdf0e10cSrcweir //---------------------------------------------------------------------------- 58*cdf0e10cSrcweir SID_CUT [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 59*cdf0e10cSrcweir SID_COPY [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 60*cdf0e10cSrcweir SID_PASTE [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ] 61*cdf0e10cSrcweir SID_PASTE_SPECIAL [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ] 62*cdf0e10cSrcweir SID_CLIPBOARD_FORMAT_ITEMS [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ] 63*cdf0e10cSrcweir SID_SELECTALL [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 64*cdf0e10cSrcweir SID_CHARMAP [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 65*cdf0e10cSrcweir SID_THES [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 66*cdf0e10cSrcweir SID_THESAURUS [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 67*cdf0e10cSrcweir // Attribute: -------------------------------------------------- 68*cdf0e10cSrcweir SID_TEXT_STANDARD [ ExecMethod = ExecuteAttr; StateMethod = GetState; Export = FALSE; ] 69*cdf0e10cSrcweir SID_DRAWTEXT_ATTR_DLG [ ExecMethod = ExecuteAttr; StateMethod = GetState; Export = FALSE; ] 70*cdf0e10cSrcweir SID_ATTR_CHAR_FONT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 71*cdf0e10cSrcweir SID_ATTR_CHAR_FONTHEIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 72*cdf0e10cSrcweir SID_ATTR_CHAR_COLOR [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 73*cdf0e10cSrcweir SID_ATTR_CHAR_WEIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 74*cdf0e10cSrcweir SID_ATTR_CHAR_POSTURE [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 75*cdf0e10cSrcweir SID_ATTR_CHAR_UNDERLINE [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 76*cdf0e10cSrcweir 77*cdf0e10cSrcweir SID_ULINE_VAL_NONE [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ] 78*cdf0e10cSrcweir SID_ULINE_VAL_SINGLE [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ] 79*cdf0e10cSrcweir SID_ULINE_VAL_DOUBLE [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ] 80*cdf0e10cSrcweir SID_ULINE_VAL_DOTTED [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ] 81*cdf0e10cSrcweir 82*cdf0e10cSrcweir SID_ATTR_CHAR_OVERLINE [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 83*cdf0e10cSrcweir SID_ATTR_CHAR_CONTOUR [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 84*cdf0e10cSrcweir SID_ATTR_CHAR_SHADOWED [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 85*cdf0e10cSrcweir SID_ATTR_CHAR_STRIKEOUT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 86*cdf0e10cSrcweir SID_ALIGNLEFT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 87*cdf0e10cSrcweir SID_ALIGNCENTERHOR [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 88*cdf0e10cSrcweir SID_ALIGNRIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 89*cdf0e10cSrcweir SID_ALIGNBLOCK [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 90*cdf0e10cSrcweir SID_ATTR_PARA_LINESPACE_10 [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 91*cdf0e10cSrcweir SID_ATTR_PARA_LINESPACE_15 [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 92*cdf0e10cSrcweir SID_ATTR_PARA_LINESPACE_20 [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 93*cdf0e10cSrcweir SID_SET_SUPER_SCRIPT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 94*cdf0e10cSrcweir SID_SET_SUB_SCRIPT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 95*cdf0e10cSrcweir SID_CHAR_DLG [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 96*cdf0e10cSrcweir SID_PARA_DLG [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 97*cdf0e10cSrcweir // ---- FontWork: 98*cdf0e10cSrcweir SID_FONTWORK [ ExecMethod = ExecuteExtra; StateMethod = GetState; Export = FALSE; ] 99*cdf0e10cSrcweir 100*cdf0e10cSrcweir // pseudo slots from Format menu 101*cdf0e10cSrcweir SID_ALIGN_ANY_LEFT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 102*cdf0e10cSrcweir SID_ALIGN_ANY_HCENTER [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 103*cdf0e10cSrcweir SID_ALIGN_ANY_RIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 104*cdf0e10cSrcweir SID_ALIGN_ANY_JUSTIFIED [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 105*cdf0e10cSrcweir 106*cdf0e10cSrcweir SID_FORMTEXT_STYLE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 107*cdf0e10cSrcweir SID_FORMTEXT_ADJUST [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 108*cdf0e10cSrcweir SID_FORMTEXT_DISTANCE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 109*cdf0e10cSrcweir SID_FORMTEXT_START [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 110*cdf0e10cSrcweir SID_FORMTEXT_MIRROR [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 111*cdf0e10cSrcweir SID_FORMTEXT_HIDEFORM [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 112*cdf0e10cSrcweir SID_FORMTEXT_OUTLINE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 113*cdf0e10cSrcweir SID_FORMTEXT_SHADOW [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 114*cdf0e10cSrcweir SID_FORMTEXT_SHDWCOLOR [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 115*cdf0e10cSrcweir SID_FORMTEXT_SHDWXVAL [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 116*cdf0e10cSrcweir SID_FORMTEXT_SHDWYVAL [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 117*cdf0e10cSrcweir SID_FORMTEXT_STDFORM [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 118*cdf0e10cSrcweir 119*cdf0e10cSrcweir SID_HYPERLINK_SETLINK [ ExecMethod = Execute; Export = FALSE; ] 120*cdf0e10cSrcweir SID_HYPERLINK_GETLINK [ StateMethod = GetState; Export = FALSE; ] 121*cdf0e10cSrcweir SID_OPEN_HYPERLINK [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 122*cdf0e10cSrcweir SID_ENABLE_HYPHENATION [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 123*cdf0e10cSrcweir 124*cdf0e10cSrcweir SID_TEXTDIRECTION_LEFT_TO_RIGHT [ ExecMethod = Execute; StateMethod = GetAttrState; Export = FALSE; ] 125*cdf0e10cSrcweir SID_TEXTDIRECTION_TOP_TO_BOTTOM [ ExecMethod = Execute; StateMethod = GetAttrState; Export = FALSE; ] 126*cdf0e10cSrcweir SID_ATTR_PARA_LEFT_TO_RIGHT [ ExecMethod = ExecuteExtra; StateMethod = GetAttrState; Export = FALSE; ] 127*cdf0e10cSrcweir SID_ATTR_PARA_RIGHT_TO_LEFT [ ExecMethod = ExecuteExtra; StateMethod = GetAttrState; Export = FALSE; ] 128*cdf0e10cSrcweir SID_VERTICALTEXT_STATE [ StateMethod = GetAttrState ; Export = FALSE; ] 129*cdf0e10cSrcweir SID_CTLFONT_STATE [ StateMethod = GetAttrState ; Export = FALSE; ] 130*cdf0e10cSrcweir 131*cdf0e10cSrcweir SID_TRANSLITERATE_SENTENCE_CASE [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 132*cdf0e10cSrcweir SID_TRANSLITERATE_TITLE_CASE [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 133*cdf0e10cSrcweir SID_TRANSLITERATE_TOGGLE_CASE [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 134*cdf0e10cSrcweir SID_TRANSLITERATE_UPPER [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 135*cdf0e10cSrcweir SID_TRANSLITERATE_LOWER [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 136*cdf0e10cSrcweir SID_TRANSLITERATE_HALFWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 137*cdf0e10cSrcweir SID_TRANSLITERATE_FULLWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 138*cdf0e10cSrcweir SID_TRANSLITERATE_HIRAGANA [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 139*cdf0e10cSrcweir SID_TRANSLITERATE_KATAGANA [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 140*cdf0e10cSrcweir} 141*cdf0e10cSrcweir 142*cdf0e10cSrcweir 143*cdf0e10cSrcweir 144*cdf0e10cSrcweir // =========================================================================== 145*cdf0e10cSrcweirshell ScDrawTextObjectBar 146*cdf0e10cSrcweir{ 147*cdf0e10cSrcweir import TableDrawText; 148*cdf0e10cSrcweir} 149