2003-10-20 09:33:58 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-08 12:11:03 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2003-10-20 09:33:58 -05:00
|
|
|
*
|
2005-09-08 12:11:03 -05:00
|
|
|
* $RCSfile: drtxtob.sdi,v $
|
2003-10-20 09:33:58 -05:00
|
|
|
*
|
2007-05-22 13:41:05 -05:00
|
|
|
* $Revision: 1.15 $
|
2003-10-20 09:33:58 -05:00
|
|
|
*
|
2007-05-22 13:41:05 -05:00
|
|
|
* last change: $Author: vg $ $Date: 2007-05-22 19:41:05 $
|
2003-10-20 09:33:58 -05:00
|
|
|
*
|
2005-09-08 12:11:03 -05:00
|
|
|
* The Contents of this file are made available subject to
|
|
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
2003-10-20 09:33:58 -05:00
|
|
|
*
|
|
|
|
*
|
2005-09-08 12:11:03 -05:00
|
|
|
* GNU Lesser General Public License Version 2.1
|
|
|
|
* =============================================
|
|
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2003-10-20 09:33:58 -05:00
|
|
|
*
|
2005-09-08 12:11:03 -05:00
|
|
|
* 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.
|
2003-10-20 09:33:58 -05:00
|
|
|
*
|
2005-09-08 12:11:03 -05:00
|
|
|
* 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.
|
2003-10-20 09:33:58 -05:00
|
|
|
*
|
2005-09-08 12:11:03 -05:00
|
|
|
* 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
|
2003-10-20 09:33:58 -05:00
|
|
|
*
|
|
|
|
************************************************************************/
|
2006-05-02 09:43:16 -05:00
|
|
|
interface TableDrawText
|
2000-09-18 11:07:07 -05:00
|
|
|
{
|
|
|
|
// Drawing geht von Basic aus gar nicht, darum alles mit Export = FALSE
|
|
|
|
|
|
|
|
// alle Referenz-Eingabe-Dialoge:
|
|
|
|
FID_DEFINE_NAME [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_DEFINE_COLROWNAMERANGES [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_OPENDLG_SOLVE [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_OPENDLG_PIVOTTABLE [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_OPENDLG_TABOP [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_FILTER [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_SPECIAL_FILTER [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_DEFINE_DBNAME [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_OPENDLG_CONSOLIDATE [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_OPENDLG_EDIT_PRINTAREA [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
// andere:
|
|
|
|
SID_DRAW_CHART [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_STYLE_CATALOG [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_OPENDLG_FUNCTION [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_STYLE_FAMILY2 [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_STYLE_FAMILY4 [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_STYLE_APPLY [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_STYLE_WATERCAN [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_STYLE_NEW_BY_EXAMPLE [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_STYLE_UPDATE_BY_EXAMPLE [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_STYLE_NEW [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_STYLE_EDIT [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
SID_STYLE_DELETE [ StateMethod = StateDisableItems; Export = FALSE; ]
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
SID_CUT [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
SID_COPY [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
SID_PASTE [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ]
|
|
|
|
FID_PASTE_CONTENTS [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ]
|
2001-04-23 05:43:56 -05:00
|
|
|
SID_CLIPBOARD_FORMAT_ITEMS [ ExecMethod = Execute; StateMethod = GetClipState; Export = FALSE; ]
|
2000-09-18 11:07:07 -05:00
|
|
|
SID_SELECTALL [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
SID_CHARMAP [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
// Attribute: --------------------------------------------------
|
|
|
|
SID_TEXT_STANDARD [ ExecMethod = ExecuteAttr; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
SID_DRAWTEXT_ATTR_DLG [ ExecMethod = ExecuteAttr; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
SID_ATTR_CHAR_FONT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ATTR_CHAR_FONTHEIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ATTR_CHAR_COLOR [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ATTR_CHAR_WEIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ATTR_CHAR_POSTURE [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ATTR_CHAR_UNDERLINE [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
|
|
|
|
SID_ULINE_VAL_NONE [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ULINE_VAL_SINGLE [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ULINE_VAL_DOUBLE [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ULINE_VAL_DOTTED [ ExecMethod = ExecuteToggle; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
|
|
|
|
SID_ATTR_CHAR_CONTOUR [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ATTR_CHAR_SHADOWED [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ATTR_CHAR_STRIKEOUT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
2002-08-19 08:39:33 -05:00
|
|
|
SID_ALIGNLEFT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ALIGNCENTERHOR [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ALIGNRIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ALIGNBLOCK [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
2000-09-18 11:07:07 -05:00
|
|
|
SID_ATTR_PARA_LINESPACE_10 [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ATTR_PARA_LINESPACE_15 [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ATTR_PARA_LINESPACE_20 [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_SET_SUPER_SCRIPT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_SET_SUB_SCRIPT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_CHAR_DLG [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_PARA_DLG [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
// ---- FontWork:
|
|
|
|
SID_FONTWORK [ ExecMethod = ExecuteExtra; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
|
2004-08-02 06:56:24 -05:00
|
|
|
// pseudo slots from Format menu
|
|
|
|
SID_ALIGN_ANY_LEFT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ALIGN_ANY_HCENTER [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ALIGN_ANY_RIGHT [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ALIGN_ANY_JUSTIFIED [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
|
2000-09-18 11:07:07 -05:00
|
|
|
SID_FORMTEXT_STYLE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_ADJUST [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_DISTANCE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_START [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_MIRROR [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_HIDEFORM [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_OUTLINE [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_SHADOW [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_SHDWCOLOR [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_SHDWXVAL [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_SHDWYVAL [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
SID_FORMTEXT_STDFORM [ ExecMethod = ExecFormText; StateMethod = GetFormTextState; Export = FALSE; ]
|
|
|
|
|
|
|
|
SID_HYPERLINK_SETLINK [ ExecMethod = Execute; Export = FALSE; ]
|
|
|
|
SID_HYPERLINK_GETLINK [ StateMethod = GetState; Export = FALSE; ]
|
2002-11-26 01:45:42 -06:00
|
|
|
SID_OPEN_HYPERLINK [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
|
2001-05-21 12:19:05 -05:00
|
|
|
SID_ENABLE_HYPHENATION [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
|
2001-03-02 14:04:05 -06:00
|
|
|
|
|
|
|
SID_TEXTDIRECTION_LEFT_TO_RIGHT [ ExecMethod = Execute; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_TEXTDIRECTION_TOP_TO_BOTTOM [ ExecMethod = Execute; StateMethod = GetAttrState; Export = FALSE; ]
|
2002-09-12 12:08:57 -05:00
|
|
|
SID_ATTR_PARA_LEFT_TO_RIGHT [ ExecMethod = ExecuteExtra; StateMethod = GetAttrState; Export = FALSE; ]
|
|
|
|
SID_ATTR_PARA_RIGHT_TO_LEFT [ ExecMethod = ExecuteExtra; StateMethod = GetAttrState; Export = FALSE; ]
|
2004-07-06 06:52:46 -05:00
|
|
|
SID_VERTICALTEXT_STATE [ StateMethod = GetAttrState ; Export = FALSE; ]
|
|
|
|
SID_CTLFONT_STATE [ StateMethod = GetAttrState ; Export = FALSE; ]
|
2001-03-26 12:26:30 -06:00
|
|
|
|
|
|
|
SID_TRANSLITERATE_UPPER [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
SID_TRANSLITERATE_LOWER [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
SID_TRANSLITERATE_HALFWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
SID_TRANSLITERATE_FULLWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
SID_TRANSLITERATE_HIRAGANA [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
|
|
|
|
SID_TRANSLITERATE_KATAGANA [ ExecMethod = ExecuteTrans; StateMethod = GetState; Export = FALSE; ]
|
2000-09-18 11:07:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ===========================================================================
|
|
|
|
shell ScDrawTextObjectBar
|
|
|
|
{
|
|
|
|
import TableDrawText;
|
|
|
|
}
|