xref: /trunk/main/sc/sdi/drtxtob.sdi (revision 989b13ef2270bbb43d1b5fb03162470a47d7f4cc)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22interface TableDrawText
23{
24    // Drawing geht von Basic aus gar nicht, darum alles mit Export = FALSE
25
26    // alle Referenz-Eingabe-Dialoge:
27    FID_DEFINE_NAME             [ StateMethod = StateDisableItems; Export = FALSE; ]
28    SID_DEFINE_COLROWNAMERANGES [ StateMethod = StateDisableItems; Export = FALSE; ]
29    SID_OPENDLG_SOLVE           [ StateMethod = StateDisableItems; Export = FALSE; ]
30    SID_OPENDLG_OPTSOLVER       [ StateMethod = StateDisableItems; Export = FALSE; ]
31    SID_OPENDLG_PIVOTTABLE      [ StateMethod = StateDisableItems; Export = FALSE; ]
32    SID_OPENDLG_TABOP           [ StateMethod = StateDisableItems; Export = FALSE; ]
33    SID_FILTER                  [ StateMethod = StateDisableItems; Export = FALSE; ]
34    SID_SPECIAL_FILTER          [ StateMethod = StateDisableItems; Export = FALSE; ]
35    SID_DEFINE_DBNAME           [ StateMethod = StateDisableItems; Export = FALSE; ]
36    SID_OPENDLG_CONSOLIDATE     [ StateMethod = StateDisableItems; Export = FALSE; ]
37    SID_OPENDLG_EDIT_PRINTAREA  [ StateMethod = StateDisableItems; Export = FALSE; ]
38    // andere:
39    SID_DRAW_CHART              [ StateMethod = StateDisableItems; Export = FALSE; ]
40    SID_STYLE_CATALOG           [ StateMethod = StateDisableItems; Export = FALSE; ]
41    SID_OPENDLG_FUNCTION        [ StateMethod = StateDisableItems; Export = FALSE; ]
42    SID_STYLE_FAMILY2           [ StateMethod = StateDisableItems; Export = FALSE; ]
43    SID_STYLE_FAMILY4           [ StateMethod = StateDisableItems; Export = FALSE; ]
44    SID_STYLE_APPLY             [ StateMethod = StateDisableItems; Export = FALSE; ]
45    SID_STYLE_WATERCAN          [ StateMethod = StateDisableItems; Export = FALSE; ]
46    SID_STYLE_NEW_BY_EXAMPLE    [ StateMethod = StateDisableItems; Export = FALSE; ]
47    SID_STYLE_UPDATE_BY_EXAMPLE [ StateMethod = StateDisableItems; Export = FALSE; ]
48    SID_STYLE_NEW               [ StateMethod = StateDisableItems; Export = FALSE; ]
49    SID_STYLE_EDIT              [ StateMethod = StateDisableItems; Export = FALSE; ]
50    SID_STYLE_DELETE            [ StateMethod = StateDisableItems; Export = FALSE; ]
51
52    //----------------------------------------------------------------------------
53    SID_CUT             [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
54    SID_COPY            [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
55    SID_PASTE           [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ]
56    SID_PASTE_SPECIAL   [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ]
57    SID_CLIPBOARD_FORMAT_ITEMS  [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ]
58    SID_SELECTALL       [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
59    SID_CHARMAP         [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
60    SID_THES            [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
61    SID_THESAURUS       [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
62    // Attribute: --------------------------------------------------
63    SID_TEXT_STANDARD           [ ExecMethod = ExecuteAttr; StateMethod = GetState; Export = FALSE; ]
64    SID_DRAWTEXT_ATTR_DLG       [ ExecMethod = ExecuteAttr; StateMethod = GetState; Export = FALSE; ]
65    SID_ATTR_CHAR_FONT          [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
66    SID_ATTR_CHAR_FONTHEIGHT    [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
67    SID_ATTR_CHAR_COLOR         [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
68    SID_ATTR_CHAR_WEIGHT        [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
69    SID_ATTR_CHAR_POSTURE       [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
70    SID_ATTR_CHAR_UNDERLINE     [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
71
72    SID_ULINE_VAL_NONE          [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
73    SID_ULINE_VAL_SINGLE        [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
74    SID_ULINE_VAL_DOUBLE        [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
75    SID_ULINE_VAL_DOTTED        [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
76
77    SID_ATTR_CHAR_OVERLINE      [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
78    SID_ATTR_CHAR_CONTOUR       [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
79    SID_ATTR_CHAR_SHADOWED      [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
80    SID_ATTR_CHAR_STRIKEOUT     [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
81    SID_ALIGNLEFT               [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
82    SID_ALIGNCENTERHOR          [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
83    SID_ALIGNRIGHT              [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
84    SID_ALIGNBLOCK              [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
85
86    SID_ATTR_PARA_ADJUST_LEFT   [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
87    SID_ATTR_PARA_ADJUST_CENTER [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
88    SID_ATTR_PARA_ADJUST_RIGHT  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
89    SID_ATTR_PARA_ADJUST_BLOCK  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
90    SID_ATTR_PARA_LRSPACE       [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
91    SID_ATTR_PARA_LINESPACE     [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
92    SID_ATTR_PARA_ULSPACE       [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
93
94    SID_ATTR_PARA_LINESPACE_10  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
95    SID_ATTR_PARA_LINESPACE_15  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
96    SID_ATTR_PARA_LINESPACE_20  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
97    SID_SET_SUPER_SCRIPT        [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
98    SID_SET_SUB_SCRIPT          [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
99    SID_ATTR_CHAR_KERNING       [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
100    SID_CHAR_DLG                [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
101    SID_CHAR_DLG_EFFECT         [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
102    SID_PARA_DLG                [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
103    // ---- FontWork:
104    SID_FONTWORK    [ ExecMethod = ExecuteExtra; StateMethod = GetState; Export = FALSE; ]
105
106    // pseudo slots from Format menu
107    SID_ALIGN_ANY_LEFT      [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
108    SID_ALIGN_ANY_HCENTER   [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
109    SID_ALIGN_ANY_RIGHT     [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
110    SID_ALIGN_ANY_JUSTIFIED [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
111
112    SID_FORMTEXT_STYLE      [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
113    SID_FORMTEXT_ADJUST     [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
114    SID_FORMTEXT_DISTANCE   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
115    SID_FORMTEXT_START      [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
116    SID_FORMTEXT_MIRROR     [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
117    SID_FORMTEXT_HIDEFORM   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
118    SID_FORMTEXT_OUTLINE    [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
119    SID_FORMTEXT_SHADOW     [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
120    SID_FORMTEXT_SHDWCOLOR  [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
121    SID_FORMTEXT_SHDWXVAL   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
122    SID_FORMTEXT_SHDWYVAL   [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
123
124    SID_HYPERLINK_SETLINK   [ ExecMethod = Execute; Export = FALSE; ]
125    SID_HYPERLINK_GETLINK   [ StateMethod = GetState; Export = FALSE; ]
126    SID_OPEN_HYPERLINK      [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
127    SID_ENABLE_HYPHENATION  [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
128
129    SID_TEXTDIRECTION_LEFT_TO_RIGHT     [ ExecMethod = Execute; StateMethod = GetAttrState; Export = FALSE; ]
130    SID_TEXTDIRECTION_TOP_TO_BOTTOM     [ ExecMethod = Execute; StateMethod = GetAttrState; Export = FALSE; ]
131    SID_ATTR_PARA_LEFT_TO_RIGHT         [ ExecMethod = ExecuteExtra; StateMethod = GetAttrState; Export = FALSE; ]
132    SID_ATTR_PARA_RIGHT_TO_LEFT         [ ExecMethod = ExecuteExtra; StateMethod = GetAttrState; Export = FALSE; ]
133    SID_VERTICALTEXT_STATE              [ StateMethod = GetAttrState ; Export = FALSE; ]
134    SID_CTLFONT_STATE                   [ StateMethod = GetAttrState ; Export = FALSE; ]
135
136    SID_TRANSLITERATE_SENTENCE_CASE [ ExecMethod = ExecuteTrans; StateMethod = GetState;  Export = FALSE; ]
137    SID_TRANSLITERATE_TITLE_CASE    [ ExecMethod = ExecuteTrans; StateMethod = GetState;  Export = FALSE; ]
138    SID_TRANSLITERATE_TOGGLE_CASE   [ ExecMethod = ExecuteTrans; StateMethod = GetState;  Export = FALSE; ]
139    SID_TRANSLITERATE_UPPER     [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
140    SID_TRANSLITERATE_LOWER     [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
141    SID_TRANSLITERATE_HALFWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
142    SID_TRANSLITERATE_FULLWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
143    SID_TRANSLITERATE_HIRAGANA  [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
144    SID_TRANSLITERATE_KATAGANA  [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
145
146    SID_TABLE_VERT_NONE [ExecMethod = ExecuteAttr ;StateMethod = GetStatePropPanelAttr ;]
147    SID_TABLE_VERT_CENTER [ExecMethod = ExecuteAttr ;StateMethod = GetStatePropPanelAttr ;]
148    SID_TABLE_VERT_BOTTOM [ExecMethod = ExecuteAttr ;StateMethod = GetStatePropPanelAttr ;]
149}
150
151// ===========================================================================
152shell ScDrawTextObjectBar
153{
154    import TableDrawText ;
155}
156