office-gobmx/sw/sdi/drwtxtsh.sdi

587 lines
14 KiB
Text
Raw Normal View History

/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: drwtxtsh.sdi,v $
*
* $Revision: 1.16 $
*
* last change: $Author: obo $ $Date: 2005-11-16 09:29:11 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************/
2000-09-18 11:15:01 -05:00
interface TextDrawText : Selection
[
uuid = "CA0C4280-293D-11D1-89CB-008029E4B0B1"
]
{
SID_SELECTALL // api:
[
ExecMethod = ExecDraw ;
StateMethod = NoState ;
]
SID_CUT // api:
2000-09-18 11:15:01 -05:00
[
ExecMethod = ExecClpbrd ;
StateMethod = StateClpbrd ;
Volatile ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_COPY // api:
[
ExecMethod = ExecClpbrd ;
StateMethod = StateClpbrd ;
Volatile ;
]
SID_PASTE // api:
[
ExecMethod = ExecClpbrd ;
StateMethod = StateClpbrd ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
FN_PASTESPECIAL // api:
[
StateMethod = StateClpbrd ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
FN_ESCAPE // api:
[
ExecMethod = ExecDraw ;
]
SID_UNDO // api:
[
ExecMethod = ExecUndo ;
StateMethod = StateUndo ;
ToolBoxConfig , MenuConfig , AccelConfig;
2000-09-18 11:15:01 -05:00
]
SID_REDO // api:
[
ExecMethod = ExecUndo ;
StateMethod = StateUndo ;
]
SID_REPEAT // api:
[
ExecMethod = ExecUndo ;
StateMethod = StateUndo ;
]
SID_GETUNDOSTRINGS
[
StateMethod = StateUndo ;
]
SID_GETREDOSTRINGS
[
StateMethod = StateUndo ;
]
2000-09-18 11:15:01 -05:00
FN_FORMAT_RESET // api:
[
ExecMethod = ExecDraw ;
StateMethod = NoState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
FN_INSERT_SYMBOL // api:
[
ExecMethod = ExecDraw ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
FN_INSERT_SOFT_HYPHEN // status(final|play)
[
ExecMethod = ExecDraw ;
StateMethod = NoState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
FN_INSERT_HARDHYPHEN // status()
[
ExecMethod = ExecDraw ;
StateMethod = NoState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
FN_INSERT_HARD_SPACE // status(final|play)
[
ExecMethod = ExecDraw ;
StateMethod = NoState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_INSERT_RLM
[
ExecMethod = ExecDraw ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_INSERT_LRM
[
ExecMethod = ExecDraw ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_INSERT_ZWSP
[
ExecMethod = ExecDraw ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_INSERT_ZWNBSP
[
ExecMethod = ExecDraw ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
2000-09-18 11:15:01 -05:00
SID_ATTR_CHAR_WEIGHT // api:
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_POSTURE // api:
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_UNDERLINE // api:
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_CONTOUR
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_SHADOWED
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_STRIKEOUT
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_PARA_ADJUST_LEFT // api:
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_PARA_ADJUST_CENTER // api:
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_PARA_ADJUST_RIGHT // api:
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_PARA_ADJUST_BLOCK // api:
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_PARA_LINESPACE_10 // api:
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_PARA_LINESPACE_15 // api:
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_PARA_LINESPACE_20 // api:
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_PARA_LEFT_TO_RIGHT
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_PARA_RIGHT_TO_LEFT
2001-03-16 07:47:06 -06:00
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_TEXTDIRECTION_LEFT_TO_RIGHT
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_TEXTDIRECTION_TOP_TO_BOTTOM
2000-09-18 11:15:01 -05:00
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_VERTICALTEXT_STATE
[
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_CTLFONT_STATE
[
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
2000-09-18 11:15:01 -05:00
SID_CHAR_DLG // api:
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_PARA_DLG // api:
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
FN_SET_SUPER_SCRIPT
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
FN_SET_SUB_SCRIPT
[
ExecMethod = Execute ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FONTWORK // api:
[
ExecMethod = ExecFontWork ;
StateMethod = StateFontWork ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_STYLE // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_ADJUST // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_DISTANCE // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_START // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_MIRROR // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_HIDEFORM // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_OUTLINE // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_SHADOW // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_SHDWCOLOR // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_SHDWXVAL // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_SHDWYVAL // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_FORMTEXT_STDFORM // api:
[
ExecMethod = ExecFormText ;
StateMethod = GetFormTextState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
FN_THESAURUS_DLG // api:
[
ExecMethod = ExecDrawLingu ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_HANGUL_HANJA_CONVERSION // api:
[
ExecMethod = ExecDrawLingu ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_CHINESE_CONVERSION // api:
[
ExecMethod = ExecDrawLingu ;
StateMethod = GetState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
2000-09-18 11:15:01 -05:00
FN_DRAWTEXT_ATTR_DLG
[
ExecMethod = ExecDraw ;
StateMethod = NoState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_STYLE_CATALOG // ole(no) api(play/rec)
[
StateMethod = StateDisableItems ;
]
SID_AUTOSPELL_CHECK
[
ExecMethod = Execute;
StateMethod = GetDrawTxtCtrlState
]
SID_AUTOSPELL_MARKOFF
[
ExecMethod = Execute;
StateMethod = GetDrawTxtCtrlState
]
SID_SEARCH_DLG
[
StateMethod = StateDisableItems
]
SID_HYPERLINK_SETLINK // status()
[
ExecMethod = Execute ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_HYPERLINK_GETLINK // status()
[
StateMethod = StateInsert ;
]
2001-03-09 05:02:06 -06:00
SID_TRANSLITERATE_UPPER
[
ExecMethod = ExecTransliteration;
StateMethod = NoState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_TRANSLITERATE_LOWER
[
ExecMethod = ExecTransliteration;
StateMethod = NoState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_TRANSLITERATE_HALFWIDTH
[
ExecMethod = ExecTransliteration;
2001-04-18 03:08:49 -05:00
StateMethod = GetState ;
2001-03-09 05:02:06 -06:00
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_TRANSLITERATE_FULLWIDTH
[
ExecMethod = ExecTransliteration;
2001-04-18 03:08:49 -05:00
StateMethod = GetState ;
2001-03-09 05:02:06 -06:00
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_TRANSLITERATE_HIRAGANA
[
ExecMethod = ExecTransliteration;
2001-04-18 03:08:49 -05:00
StateMethod = GetState ;
2001-03-09 05:02:06 -06:00
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_TRANSLITERATE_KATAGANA
[
ExecMethod = ExecTransliteration;
2001-04-18 03:08:49 -05:00
StateMethod = GetState ;
2001-03-09 05:02:06 -06:00
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
2000-09-18 11:15:01 -05:00
}
interface TextDrawFont : Object
[ uuid = "074C35E0-11EF-101D-9757-6E74207A7520"; ]
{
SID_ATTR_CHAR_FONT // status()
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_FONTHEIGHT // status()
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_COLOR // api:
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_WORDLINEMODE // status(final|play)
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_RELIEF
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_LANGUAGE // status(final|play)
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_KERNING // status(final|play)
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_AUTOKERN // // status(final|play)
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
SID_ATTR_CHAR_ESCAPEMENT // status(final|play)
[
ExecMethod = Execute ;
StateMethod = GetDrawTxtCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
2000-09-18 11:15:01 -05:00
SID_ATTR_CHAR_SCALEWIDTH // status()
[
ExecMethod = Execute ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
2000-09-18 11:15:01 -05:00
}
shell SwDrawTextShell
{
import TextDrawText[Automation];
import TextDrawFont ".DrawFont";
}