496 lines
12 KiB
Text
496 lines
12 KiB
Text
/*------------------------------------------------------------------------
|
|
|
|
$Workfile: _VIEWSH.SDI $
|
|
|
|
$Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/sdi/_viewsh.sdi,v 1.6 2001-07-09 09:36:07 os Exp $
|
|
|
|
Beschreibung: allgemeine interfaces fuer View
|
|
|
|
(c) Copyright 1997 - 2000, Star Division GmbH, Hamburg
|
|
|
|
------------------------------------------------------------------------*/
|
|
|
|
|
|
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_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
|
|
)
|
|
[
|
|
]
|
|
|
|
}
|
|
|