update dev300-m58
[ooovba.git] / sc / sdi / drtxtob.sdi
blob765c347f8efd9db3930be12048f05be98bcdd81e
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: drtxtob.sdi,v $
10  * $Revision: 1.17.144.1 $
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 TableDrawText
32     //  Drawing geht von Basic aus gar nicht, darum alles mit Export = FALSE
34     // alle Referenz-Eingabe-Dialoge:
35     FID_DEFINE_NAME                             [ StateMethod = StateDisableItems; Export = FALSE; ]
36     SID_DEFINE_COLROWNAMERANGES [ StateMethod = StateDisableItems; Export = FALSE; ]
37     SID_OPENDLG_SOLVE                   [ StateMethod = StateDisableItems; Export = FALSE; ]
38     SID_OPENDLG_OPTSOLVER       [ StateMethod = StateDisableItems; Export = FALSE; ]
39     SID_OPENDLG_PIVOTTABLE              [ StateMethod = StateDisableItems; Export = FALSE; ]
40     SID_OPENDLG_TABOP                   [ StateMethod = StateDisableItems; Export = FALSE; ]
41     SID_FILTER                                  [ StateMethod = StateDisableItems; Export = FALSE; ]
42     SID_SPECIAL_FILTER                  [ StateMethod = StateDisableItems; Export = FALSE; ]
43     SID_DEFINE_DBNAME                   [ StateMethod = StateDisableItems; Export = FALSE; ]
44     SID_OPENDLG_CONSOLIDATE             [ StateMethod = StateDisableItems; Export = FALSE; ]
45     SID_OPENDLG_EDIT_PRINTAREA  [ StateMethod = StateDisableItems; Export = FALSE; ]
46      // andere:
47     SID_DRAW_CHART                              [ 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; ]
60      //----------------------------------------------------------------------------
61     SID_CUT                             [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
62     SID_COPY                    [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
63     SID_PASTE                   [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ]
64     FID_PASTE_CONTENTS  [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ]
65     SID_CLIPBOARD_FORMAT_ITEMS [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ]
66     SID_SELECTALL               [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
67     SID_CHARMAP                 [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
68      // Attribute: --------------------------------------------------
69     SID_TEXT_STANDARD                   [ ExecMethod = ExecuteAttr; StateMethod = GetState; Export = FALSE; ]
70     SID_DRAWTEXT_ATTR_DLG               [ ExecMethod = ExecuteAttr; StateMethod = GetState; Export = FALSE; ]
71     SID_ATTR_CHAR_FONT                  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
72     SID_ATTR_CHAR_FONTHEIGHT    [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
73     SID_ATTR_CHAR_COLOR                 [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
74     SID_ATTR_CHAR_WEIGHT                [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
75     SID_ATTR_CHAR_POSTURE               [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
76     SID_ATTR_CHAR_UNDERLINE             [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
78     SID_ULINE_VAL_NONE                  [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
79     SID_ULINE_VAL_SINGLE                [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
80     SID_ULINE_VAL_DOUBLE                [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
81     SID_ULINE_VAL_DOTTED                [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
83     SID_ATTR_CHAR_OVERLINE              [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
84     SID_ATTR_CHAR_CONTOUR               [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
85     SID_ATTR_CHAR_SHADOWED              [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
86     SID_ATTR_CHAR_STRIKEOUT             [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
87     SID_ALIGNLEFT                               [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
88     SID_ALIGNCENTERHOR                  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
89     SID_ALIGNRIGHT                              [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
90     SID_ALIGNBLOCK                              [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
91     SID_ATTR_PARA_LINESPACE_10  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
92     SID_ATTR_PARA_LINESPACE_15  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
93     SID_ATTR_PARA_LINESPACE_20  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
94     SID_SET_SUPER_SCRIPT                [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
95     SID_SET_SUB_SCRIPT                  [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
96     SID_CHAR_DLG                                [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
97     SID_PARA_DLG                                [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
98      // ---- FontWork:
99     SID_FONTWORK        [ ExecMethod = ExecuteExtra; StateMethod = GetState; Export = FALSE; ]
101     // pseudo slots from Format menu
102     SID_ALIGN_ANY_LEFT      [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
103     SID_ALIGN_ANY_HCENTER       [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
104     SID_ALIGN_ANY_RIGHT         [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
105     SID_ALIGN_ANY_JUSTIFIED [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
107     SID_FORMTEXT_STYLE          [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
108     SID_FORMTEXT_ADJUST         [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
109     SID_FORMTEXT_DISTANCE       [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
110     SID_FORMTEXT_START          [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
111     SID_FORMTEXT_MIRROR         [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
112     SID_FORMTEXT_HIDEFORM       [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
113     SID_FORMTEXT_OUTLINE        [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
114     SID_FORMTEXT_SHADOW         [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
115     SID_FORMTEXT_SHDWCOLOR      [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
116     SID_FORMTEXT_SHDWXVAL       [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
117     SID_FORMTEXT_SHDWYVAL       [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
118     SID_FORMTEXT_STDFORM        [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
120     SID_HYPERLINK_SETLINK       [ ExecMethod = Execute; Export = FALSE; ]
121     SID_HYPERLINK_GETLINK       [ StateMethod = GetState; Export = FALSE; ]
122         SID_OPEN_HYPERLINK      [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
123     SID_ENABLE_HYPHENATION      [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
125     SID_TEXTDIRECTION_LEFT_TO_RIGHT             [ ExecMethod = Execute; StateMethod = GetAttrState; Export = FALSE; ]
126     SID_TEXTDIRECTION_TOP_TO_BOTTOM             [ ExecMethod = Execute; StateMethod = GetAttrState; Export = FALSE; ]
127     SID_ATTR_PARA_LEFT_TO_RIGHT                 [ ExecMethod = ExecuteExtra; StateMethod = GetAttrState; Export = FALSE; ]
128     SID_ATTR_PARA_RIGHT_TO_LEFT                 [ ExecMethod = ExecuteExtra; StateMethod = GetAttrState; Export = FALSE; ]
129     SID_VERTICALTEXT_STATE              [ StateMethod = GetAttrState ; Export = FALSE; ]
130     SID_CTLFONT_STATE                   [ StateMethod = GetAttrState ; Export = FALSE; ]
132     SID_TRANSLITERATE_UPPER             [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
133     SID_TRANSLITERATE_LOWER             [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
134     SID_TRANSLITERATE_HALFWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
135     SID_TRANSLITERATE_FULLWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
136     SID_TRANSLITERATE_HIRAGANA  [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
137     SID_TRANSLITERATE_KATAGANA  [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
142  // ===========================================================================
143 shell ScDrawTextObjectBar
145     import TableDrawText;