550 lines
14 KiB
Text
550 lines
14 KiB
Text
/*************************************************************************
|
|
*
|
|
* $RCSfile: _viewsh.sdi,v $
|
|
*
|
|
* $Revision: 1.8 $
|
|
*
|
|
* last change: $Author: os $ $Date: 2001-10-11 09:53:20 $
|
|
*
|
|
* The Contents of this file are made available subject to the terms of
|
|
* either of the following licenses
|
|
*
|
|
* - GNU Lesser General Public License Version 2.1
|
|
* - Sun Industry Standards Source License Version 1.1
|
|
*
|
|
* Sun Microsystems Inc., October, 2000
|
|
*
|
|
* GNU Lesser General Public License Version 2.1
|
|
* =============================================
|
|
* Copyright 2000 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
|
|
*
|
|
*
|
|
* Sun Industry Standards Source License Version 1.1
|
|
* =================================================
|
|
* The contents of this file are subject to the Sun Industry Standards
|
|
* Source License Version 1.1 (the "License"); You may not use this file
|
|
* except in compliance with the License. You may obtain a copy of the
|
|
* License at http://www.openoffice.org/license.html.
|
|
*
|
|
* Software provided under this License is provided on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
|
|
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
|
|
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
|
|
* See the License for the specific provisions governing your rights and
|
|
* obligations concerning the Software.
|
|
*
|
|
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
|
|
*
|
|
* Copyright: 2000 by Sun Microsystems, Inc.
|
|
*
|
|
* All Rights Reserved.
|
|
*
|
|
* Contributor(s): _______________________________________
|
|
*
|
|
*
|
|
************************************************************************/
|
|
|
|
|
|
interface BaseTextEditView : View
|
|
[
|
|
Automation = FALSE;
|
|
]
|
|
{
|
|
FN_REFRESH_VIEW // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
]
|
|
FN_PAGEUP // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_PAGEUP_SEL // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_UNDO // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_CLEARHISTORY // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_CREATE_SW_DRAWVIEW
|
|
[
|
|
ExecMethod = Execute;
|
|
]
|
|
FN_PAGEDOWN // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_PAGEDOWN_SEL // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_NAVIGATION_PI_GOTO_PAGE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
FN_SCROLL_NAVIGATION
|
|
[
|
|
ExecMethod = NoExec ;
|
|
StateMethod = NoState ;
|
|
]
|
|
FN_SCROLL_NEXT_PREV
|
|
[
|
|
ExecMethod = Execute;
|
|
]
|
|
FN_SET_PAGE_STYLE // status(final|play)
|
|
[
|
|
ExecMethod = ExecColl ;
|
|
]
|
|
SID_OBJECT_SELECT
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
SID_SHOW_HIDDEN // status()
|
|
[
|
|
Export = FALSE ;
|
|
ExecMethod = ExecDraw ;
|
|
]
|
|
SID_SHOW_FORMS // status()
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
FN_REDLINE_PROTECT
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
|
|
]
|
|
FN_REDLINE_ON // status()
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
|
|
]
|
|
FN_REDLINE_SHOW // status()
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
|
|
]
|
|
FN_REDLINE_ACCEPT // status(play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
|
|
]
|
|
SID_DOCUMENT_COMPARE // status(play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
|
|
]
|
|
SID_DOCUMENT_MERGE // status(play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_MAILBOX_EDITOR";
|
|
]
|
|
FN_ESCAPE // status(final|play|rec)
|
|
[
|
|
ExecMethod = Execute ;
|
|
]
|
|
FN_FAX // status(final|play)
|
|
[
|
|
ExecMethod = ExecutePrint ;
|
|
]
|
|
SID_PRINTDOC // status(final|play)
|
|
[
|
|
ExecMethod = ExecutePrint ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_PRINTDOCDIRECT // status(final|play)
|
|
[
|
|
ExecMethod = ExecutePrint ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_ATTR_LRSPACE
|
|
[
|
|
ExecMethod = ExecTabWin ;
|
|
StateMethod = StateTabWin ;
|
|
GroupId = GID_EDIT ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_ATTR_ULSPACE
|
|
[
|
|
ExecMethod = ExecTabWin ;
|
|
StateMethod = StateTabWin ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_ATTR_LONG_LRSPACE // status()
|
|
[
|
|
ExecMethod = ExecTabWin ;
|
|
StateMethod = StateTabWin ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_ATTR_LONG_ULSPACE // status()
|
|
[
|
|
ExecMethod = ExecTabWin ;
|
|
StateMethod = StateTabWin ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_ATTR_PARA_LRSPACE // status()
|
|
[
|
|
ExecMethod = ExecTabWin ;
|
|
StateMethod = StateTabWin ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_RULER_BORDERS // status()
|
|
[
|
|
ExecMethod = ExecTabWin ;
|
|
StateMethod = StateTabWin ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_RULER_BORDER_DISTANCE // status()
|
|
[
|
|
StateMethod = StateTabWin ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_RULER_PAGE_POS // status()
|
|
[
|
|
ExecMethod = NoExec ;
|
|
StateMethod = StateTabWin ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_RULER_LR_MIN_MAX // status()
|
|
[
|
|
StateMethod = StateTabWin ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_RULER_PROTECT // status()
|
|
[
|
|
StateMethod = StateTabWin ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
FN_EDIT_LINK_DLG // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
FN_LINE_NUMBERING_DLG // status()
|
|
[
|
|
ExecMethod = Execute;
|
|
]
|
|
FN_UPDATE_TOX // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
MenuConfig , AccelConfig , ToolBoxConfig ;
|
|
|
|
]
|
|
FN_UPDATE_CUR_TOX // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_EDIT_CURRENT_TOX // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_TWAIN_SELECT
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_TWAIN_TRANSFER
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
//---------------------------------------------------------------------
|
|
//Ab hier Statusleiste
|
|
FN_STAT_PAGE // status()
|
|
[
|
|
ExecMethod = ExecuteStatusLine ;
|
|
StateMethod = StateStatusLine ;
|
|
]
|
|
FN_STAT_BOOKMARK // status()
|
|
[
|
|
ExecMethod = ExecuteStatusLine ;
|
|
]
|
|
FN_STAT_HYPERLINKS // status()
|
|
[
|
|
ExecMethod = ExecuteStatusLine ;
|
|
StateMethod = StateStatusLine ;
|
|
]
|
|
FN_STAT_TEMPLATE // status(final|play)
|
|
[
|
|
ExecMethod = ExecuteStatusLine ;
|
|
StateMethod = StateStatusLine ;
|
|
]
|
|
FN_STAT_SELMODE // status(final|play)
|
|
[
|
|
//Aktueller Selektionsmode: 0 == Normal, 2 == Ergaenzen, 1 == Erweitern
|
|
ExecMethod = ExecuteStatusLine ;
|
|
StateMethod = StateStatusLine ;
|
|
]
|
|
FN_SET_ADD_MODE // status()
|
|
[
|
|
ExecMethod = ExecuteStatusLine ;
|
|
StateMethod = NoState ;
|
|
]
|
|
FN_SET_EXT_MODE // status()
|
|
[
|
|
ExecMethod = ExecuteStatusLine ;
|
|
StateMethod = NoState ;
|
|
]
|
|
SID_ATTR_ZOOM // status(final|play)
|
|
[
|
|
ExecMethod = ExecuteStatusLine ;
|
|
StateMethod = StateStatusLine ;
|
|
]
|
|
SID_ATTR_INSERT // status(final|play|rec)
|
|
[
|
|
ExecMethod = ExecuteStatusLine ;
|
|
StateMethod = StateStatusLine ;
|
|
]
|
|
SID_ATTR_SIZE // status()
|
|
[
|
|
ExecMethod = ExecuteStatusLine ;
|
|
StateMethod = StateStatusLine ;
|
|
]
|
|
SID_ATTR_POSITION // status()
|
|
[
|
|
StateMethod = StateStatusLine ;
|
|
]
|
|
SID_TABLE_CELL // status()
|
|
[
|
|
StateMethod = StateStatusLine ;
|
|
]
|
|
//----------------------------------------------
|
|
//End mit Statusleiste
|
|
//----------------------------------------------
|
|
SID_ATTR_BORDER_SHADOW // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
/****************************************************/
|
|
/* */
|
|
/* Properties Seitenformat */
|
|
/* */
|
|
/****************************************************/
|
|
SID_ATTR_PAGE // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_ATTR_PAGE_SIZE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_ATTR_PAGE_MAXSIZE // status()
|
|
[
|
|
Export = FALSE ;
|
|
ExecMethod = Execute ;
|
|
]
|
|
SID_ATTR_PAGE_PAPERBIN // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_THESAURUS_DLG // status(final|play)
|
|
[
|
|
ExecMethod = ExecLingu ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
FN_SPELLING_DLG // status(final|play)
|
|
[
|
|
ExecMethod = ExecLingu ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
FN_ADD_UNKNOWN // status(final|play)
|
|
[
|
|
ExecMethod = ExecLingu ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
/*
|
|
suchen und ersetzen
|
|
*/
|
|
|
|
|
|
SID_SEARCH_ITEM // status()
|
|
[
|
|
ExecMethod = ExecSearch ;
|
|
StateMethod = StateSearch ;
|
|
Export = FALSE;
|
|
]
|
|
FN_REPEAT_SEARCH // status(final|play)
|
|
[
|
|
ExecMethod = ExecSearch ;
|
|
]
|
|
FID_SEARCH_NOW // status()
|
|
[
|
|
ExecMethod = ExecSearch ;
|
|
]
|
|
SID_SEARCH_OPTIONS // status()
|
|
[
|
|
StateMethod = StateSearch ;
|
|
]
|
|
FID_SEARCH_SEARCHSET // status()
|
|
[
|
|
ExecMethod = ExecSearch ;
|
|
]
|
|
FID_SEARCH_REPLACESET // status()
|
|
[
|
|
ExecMethod = ExecSearch ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_ATTR_TABSTOP // status()
|
|
[
|
|
ExecMethod = ExecTabWin ;
|
|
StateMethod = StateTabWin ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
// ab hier Export = FALSE;
|
|
FID_SEARCH_ON // status()
|
|
[
|
|
ExecMethod = ExecSearch ;
|
|
Export = FALSE;
|
|
]
|
|
FID_SEARCH_OFF // status()
|
|
[
|
|
ExecMethod = ExecSearch ;
|
|
Export = FALSE;
|
|
]
|
|
FN_INSERT_CTRL
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
Export = FALSE;
|
|
]
|
|
|
|
SID_ATTR_DEFTABSTOP
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
Export = FALSE;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_ATTR_LANGUAGE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
Export = FALSE;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_ATTR_CHAR_CJK_LANGUAGE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
Export = FALSE;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_ATTR_CHAR_CTL_LANGUAGE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
Export = FALSE;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
|
|
SfxVoidItem JumpToMark SID_JUMPTOMARK
|
|
|
|
(
|
|
SfxStringItem Bookmark SID_JUMPTOMARK
|
|
) // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
FastCall , Cachable ;
|
|
]
|
|
|
|
FN_SYNC_LABELS // status(play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
]
|
|
SID_ATTR_BRUSH // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_GALLERY
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_VIEW_DATA_SOURCE_BROWSER // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState;
|
|
]
|
|
SID_READONLY_MODE // ole : no, status : no
|
|
[
|
|
StateMethod = GetState ;
|
|
]
|
|
|
|
}
|
|
|
|
interface GlobalContents : Collection
|
|
[ uuid = "1FD80520-F517-11d0-AC9B-008029E867C6"; ]
|
|
{
|
|
UINT16 Type FN_COLL_TYPE
|
|
(
|
|
UINT16 Position FN_COLL_TYPE
|
|
)
|
|
[
|
|
]
|
|
|
|
// Bereichsname, Index-Titel oder Leerstring
|
|
String Title FN_COLL_TITLE
|
|
(
|
|
UINT16 Position FN_COLL_TITLE
|
|
)
|
|
[
|
|
]
|
|
// ohne FileName wird ein TextBereich an der Position eingefuegt
|
|
BOOL InsertDocument FN_COLL_ADD
|
|
(
|
|
UINT16 Position FN_COLL_ADD,
|
|
UINT16 FileName FN_PARAM_1
|
|
)
|
|
[
|
|
]
|
|
|
|
}
|
|
|