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 TableDrawText 28{ 29 // Drawing geht von Basic aus gar nicht, darum alles mit Export = FALSE 30 31 // alle Referenz-Eingabe-Dialoge: 32 FID_DEFINE_NAME [ StateMethod = StateDisableItems; Export = FALSE; ] 33 SID_DEFINE_COLROWNAMERANGES [ StateMethod = StateDisableItems; Export = FALSE; ] 34 SID_OPENDLG_SOLVE [ StateMethod = StateDisableItems; Export = FALSE; ] 35 SID_OPENDLG_OPTSOLVER [ StateMethod = StateDisableItems; Export = FALSE; ] 36 SID_OPENDLG_PIVOTTABLE [ StateMethod = StateDisableItems; Export = FALSE; ] 37 SID_OPENDLG_TABOP [ StateMethod = StateDisableItems; Export = FALSE; ] 38 SID_FILTER [ StateMethod = StateDisableItems; Export = FALSE; ] 39 SID_SPECIAL_FILTER [ StateMethod = StateDisableItems; Export = FALSE; ] 40 SID_DEFINE_DBNAME [ StateMethod = StateDisableItems; Export = FALSE; ] 41 SID_OPENDLG_CONSOLIDATE [ StateMethod = StateDisableItems; Export = FALSE; ] 42 SID_OPENDLG_EDIT_PRINTAREA [ StateMethod = StateDisableItems; Export = FALSE; ] 43 // andere: 44 SID_DRAW_CHART [ StateMethod = StateDisableItems; Export = FALSE; ] 45 SID_STYLE_CATALOG [ StateMethod = StateDisableItems; Export = FALSE; ] 46 SID_OPENDLG_FUNCTION [ StateMethod = StateDisableItems; Export = FALSE; ] 47 SID_STYLE_FAMILY2 [ StateMethod = StateDisableItems; Export = FALSE; ] 48 SID_STYLE_FAMILY4 [ StateMethod = StateDisableItems; Export = FALSE; ] 49 SID_STYLE_APPLY [ StateMethod = StateDisableItems; Export = FALSE; ] 50 SID_STYLE_WATERCAN [ StateMethod = StateDisableItems; Export = FALSE; ] 51 SID_STYLE_NEW_BY_EXAMPLE [ StateMethod = StateDisableItems; Export = FALSE; ] 52 SID_STYLE_UPDATE_BY_EXAMPLE [ StateMethod = StateDisableItems; Export = FALSE; ] 53 SID_STYLE_NEW [ StateMethod = StateDisableItems; Export = FALSE; ] 54 SID_STYLE_EDIT [ StateMethod = StateDisableItems; Export = FALSE; ] 55 SID_STYLE_DELETE [ StateMethod = StateDisableItems; Export = FALSE; ] 56 57 //---------------------------------------------------------------------------- 58 SID_CUT [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 59 SID_COPY [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 60 SID_PASTE [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ] 61 SID_PASTE_SPECIAL [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ] 62 SID_CLIPBOARD_FORMAT_ITEMS [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ] 63 SID_SELECTALL [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 64 SID_CHARMAP [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 65 SID_THES [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 66 SID_THESAURUS [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 67 // Attribute: -------------------------------------------------- 68 SID_TEXT_STANDARD [ ExecMethod = ExecuteAttr; StateMethod = GetState; Export = FALSE; ] 69 SID_DRAWTEXT_ATTR_DLG [ ExecMethod = ExecuteAttr; StateMethod = GetState; Export = FALSE; ] 70 SID_ATTR_CHAR_FONT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 71 SID_ATTR_CHAR_FONTHEIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 72 SID_ATTR_CHAR_COLOR [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 73 SID_ATTR_CHAR_WEIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 74 SID_ATTR_CHAR_POSTURE [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 75 SID_ATTR_CHAR_UNDERLINE [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 76 77 SID_ULINE_VAL_NONE [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ] 78 SID_ULINE_VAL_SINGLE [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ] 79 SID_ULINE_VAL_DOUBLE [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ] 80 SID_ULINE_VAL_DOTTED [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ] 81 82 SID_ATTR_CHAR_OVERLINE [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 83 SID_ATTR_CHAR_CONTOUR [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 84 SID_ATTR_CHAR_SHADOWED [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 85 SID_ATTR_CHAR_STRIKEOUT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 86 SID_ALIGNLEFT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 87 SID_ALIGNCENTERHOR [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 88 SID_ALIGNRIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 89 SID_ALIGNBLOCK [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 90 SID_ATTR_PARA_LINESPACE_10 [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 91 SID_ATTR_PARA_LINESPACE_15 [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 92 SID_ATTR_PARA_LINESPACE_20 [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 93 SID_SET_SUPER_SCRIPT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 94 SID_SET_SUB_SCRIPT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 95 SID_CHAR_DLG [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 96 SID_PARA_DLG [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 97 // ---- FontWork: 98 SID_FONTWORK [ ExecMethod = ExecuteExtra; StateMethod = GetState; Export = FALSE; ] 99 100 // pseudo slots from Format menu 101 SID_ALIGN_ANY_LEFT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 102 SID_ALIGN_ANY_HCENTER [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 103 SID_ALIGN_ANY_RIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 104 SID_ALIGN_ANY_JUSTIFIED [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ] 105 106 SID_FORMTEXT_STYLE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 107 SID_FORMTEXT_ADJUST [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 108 SID_FORMTEXT_DISTANCE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 109 SID_FORMTEXT_START [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 110 SID_FORMTEXT_MIRROR [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 111 SID_FORMTEXT_HIDEFORM [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 112 SID_FORMTEXT_OUTLINE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 113 SID_FORMTEXT_SHADOW [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 114 SID_FORMTEXT_SHDWCOLOR [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 115 SID_FORMTEXT_SHDWXVAL [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 116 SID_FORMTEXT_SHDWYVAL [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 117 SID_FORMTEXT_STDFORM [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ] 118 119 SID_HYPERLINK_SETLINK [ ExecMethod = Execute; Export = FALSE; ] 120 SID_HYPERLINK_GETLINK [ StateMethod = GetState; Export = FALSE; ] 121 SID_OPEN_HYPERLINK [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 122 SID_ENABLE_HYPHENATION [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] 123 124 SID_TEXTDIRECTION_LEFT_TO_RIGHT [ ExecMethod = Execute; StateMethod = GetAttrState; Export = FALSE; ] 125 SID_TEXTDIRECTION_TOP_TO_BOTTOM [ ExecMethod = Execute; StateMethod = GetAttrState; Export = FALSE; ] 126 SID_ATTR_PARA_LEFT_TO_RIGHT [ ExecMethod = ExecuteExtra; StateMethod = GetAttrState; Export = FALSE; ] 127 SID_ATTR_PARA_RIGHT_TO_LEFT [ ExecMethod = ExecuteExtra; StateMethod = GetAttrState; Export = FALSE; ] 128 SID_VERTICALTEXT_STATE [ StateMethod = GetAttrState ; Export = FALSE; ] 129 SID_CTLFONT_STATE [ StateMethod = GetAttrState ; Export = FALSE; ] 130 131 SID_TRANSLITERATE_SENTENCE_CASE [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 132 SID_TRANSLITERATE_TITLE_CASE [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 133 SID_TRANSLITERATE_TOGGLE_CASE [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 134 SID_TRANSLITERATE_UPPER [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 135 SID_TRANSLITERATE_LOWER [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 136 SID_TRANSLITERATE_HALFWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 137 SID_TRANSLITERATE_FULLWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 138 SID_TRANSLITERATE_HIRAGANA [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 139 SID_TRANSLITERATE_KATAGANA [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ] 140} 141 142 143 144 // =========================================================================== 145shell ScDrawTextObjectBar 146{ 147 import TableDrawText; 148} 149