2004-07-13 07:42:00 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 12:27:51 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2004-07-13 07:42:00 -05:00
|
|
|
*
|
2008-04-10 12:27:51 -05:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2004-07-13 07:42:00 -05:00
|
|
|
*
|
2008-04-10 12:27:51 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2004-07-13 07:42:00 -05:00
|
|
|
*
|
2008-04-10 12:27:51 -05:00
|
|
|
* $RCSfile: ViewShellBase.sdi,v $
|
|
|
|
* $Revision: 1.13 $
|
2004-07-13 07:42:00 -05:00
|
|
|
*
|
2008-04-10 12:27:51 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2004-07-13 07:42:00 -05:00
|
|
|
*
|
2008-04-10 12:27:51 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2004-07-13 07:42:00 -05:00
|
|
|
*
|
2008-04-10 12:27:51 -05:00
|
|
|
* OpenOffice.org 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 version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2004-07-13 07:42:00 -05:00
|
|
|
*
|
2008-04-10 12:27:51 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2004-07-13 07:42:00 -05:00
|
|
|
*
|
|
|
|
************************************************************************/
|
2004-01-20 03:19:56 -06:00
|
|
|
|
2004-07-13 07:42:00 -05:00
|
|
|
/** This item holds the requested type of view shell when calling the
|
|
|
|
SID_SWITCH_SHELL slot.
|
|
|
|
*/
|
2004-01-20 03:19:56 -06:00
|
|
|
SfxInt32Item SwitchViewShell SID_SWITCH_SHELL
|
|
|
|
[
|
|
|
|
/* flags: */
|
|
|
|
AutoUpdate = FALSE,
|
|
|
|
Cachable = Cachable,
|
|
|
|
FastCall = FALSE,
|
|
|
|
HasCoreId = FALSE,
|
|
|
|
HasDialog = FALSE,
|
|
|
|
ReadOnlyDoc = TRUE,
|
|
|
|
Toggle = FALSE,
|
|
|
|
Container = FALSE,
|
|
|
|
RecordAbsolute = FALSE,
|
|
|
|
RecordPerSet;
|
|
|
|
Asynchron;
|
|
|
|
|
|
|
|
Readonly = FALSE,
|
|
|
|
|
|
|
|
/* config: */
|
|
|
|
AccelConfig = FALSE,
|
|
|
|
MenuConfig = FALSE,
|
|
|
|
StatusBarConfig = FALSE,
|
|
|
|
ToolBoxConfig = FALSE,
|
|
|
|
GroupId = GID_VIEW;
|
|
|
|
]
|
|
|
|
|
2004-07-13 07:42:00 -05:00
|
|
|
|
|
|
|
/** This item holds the requested pane of the multi pane GUI in which a
|
|
|
|
change of the view shell is requested by a call to the SID_SWITCH_SHELL
|
|
|
|
slot.
|
|
|
|
*/
|
|
|
|
SfxInt32Item SwitchViewShellPane SID_SWITCH_SHELL_PANE
|
|
|
|
[
|
|
|
|
// flags:
|
|
|
|
AutoUpdate = FALSE,
|
|
|
|
Cachable = Cachable,
|
|
|
|
FastCall = FALSE,
|
|
|
|
HasCoreId = FALSE,
|
|
|
|
HasDialog = FALSE,
|
|
|
|
ReadOnlyDoc = TRUE,
|
|
|
|
Toggle = FALSE,
|
|
|
|
Container = FALSE,
|
|
|
|
RecordAbsolute = FALSE,
|
|
|
|
RecordPerSet;
|
|
|
|
Asynchron;
|
|
|
|
|
|
|
|
Readonly = FALSE,
|
|
|
|
|
|
|
|
// config:
|
|
|
|
AccelConfig = FALSE,
|
|
|
|
MenuConfig = FALSE,
|
|
|
|
StatusBarConfig = FALSE,
|
|
|
|
ToolBoxConfig = FALSE,
|
|
|
|
GroupId = GID_VIEW;
|
|
|
|
]
|
|
|
|
|
2004-09-08 07:41:11 -05:00
|
|
|
SfxBoolItem LeftPaneImpress SID_LEFT_PANE_IMPRESS
|
2004-07-13 07:42:00 -05:00
|
|
|
|
|
|
|
[
|
|
|
|
/* flags: */
|
|
|
|
AutoUpdate = TRUE,
|
|
|
|
Cachable = Cachable,
|
|
|
|
FastCall = FALSE,
|
|
|
|
HasCoreId = FALSE,
|
|
|
|
HasDialog = TRUE,
|
2004-11-26 08:00:10 -06:00
|
|
|
ReadOnlyDoc = TRUE,
|
2004-07-13 07:42:00 -05:00
|
|
|
Toggle = FALSE,
|
|
|
|
Container = FALSE,
|
|
|
|
RecordAbsolute = FALSE,
|
|
|
|
RecordPerSet;
|
|
|
|
Asynchron;
|
|
|
|
|
|
|
|
Readonly = FALSE,
|
|
|
|
|
|
|
|
/* config: */
|
|
|
|
AccelConfig = TRUE,
|
|
|
|
MenuConfig = TRUE,
|
|
|
|
StatusBarConfig = FALSE,
|
|
|
|
ToolBoxConfig = TRUE,
|
|
|
|
GroupId = GID_MODIFY;
|
|
|
|
]
|
|
|
|
|
2004-09-08 07:41:11 -05:00
|
|
|
SfxBoolItem LeftPaneDraw SID_LEFT_PANE_DRAW
|
|
|
|
|
|
|
|
[
|
|
|
|
/* flags: */
|
|
|
|
AutoUpdate = TRUE,
|
|
|
|
Cachable = Cachable,
|
|
|
|
FastCall = FALSE,
|
|
|
|
HasCoreId = FALSE,
|
|
|
|
HasDialog = TRUE,
|
2004-11-26 08:00:10 -06:00
|
|
|
ReadOnlyDoc = TRUE,
|
2004-09-08 07:41:11 -05:00
|
|
|
Toggle = FALSE,
|
|
|
|
Container = FALSE,
|
|
|
|
RecordAbsolute = FALSE,
|
|
|
|
RecordPerSet;
|
|
|
|
Asynchron;
|
|
|
|
|
|
|
|
Readonly = FALSE,
|
|
|
|
|
|
|
|
/* config: */
|
|
|
|
AccelConfig = TRUE,
|
|
|
|
MenuConfig = TRUE,
|
|
|
|
StatusBarConfig = FALSE,
|
|
|
|
ToolBoxConfig = TRUE,
|
|
|
|
GroupId = GID_MODIFY;
|
|
|
|
]
|
|
|
|
|
|
|
|
SfxBoolItem RightPane SID_RIGHT_PANE
|
2004-07-13 07:42:00 -05:00
|
|
|
|
|
|
|
[
|
|
|
|
/* flags: */
|
|
|
|
AutoUpdate = TRUE,
|
|
|
|
Cachable = Cachable,
|
|
|
|
FastCall = FALSE,
|
|
|
|
HasCoreId = FALSE,
|
|
|
|
HasDialog = TRUE,
|
|
|
|
ReadOnlyDoc = FALSE,
|
|
|
|
Toggle = FALSE,
|
|
|
|
Container = FALSE,
|
|
|
|
RecordAbsolute = FALSE,
|
|
|
|
RecordPerSet;
|
|
|
|
Asynchron;
|
|
|
|
|
|
|
|
Readonly = FALSE,
|
|
|
|
|
|
|
|
/* config: */
|
|
|
|
AccelConfig = TRUE,
|
|
|
|
MenuConfig = TRUE,
|
|
|
|
StatusBarConfig = FALSE,
|
|
|
|
ToolBoxConfig = TRUE,
|
|
|
|
GroupId = GID_MODIFY;
|
|
|
|
]
|
|
|
|
|
|
|
|
SfxVoidItem NotesChildWindow SID_NOTES_WINDOW
|
|
|
|
|
|
|
|
[
|
|
|
|
/* flags: */
|
|
|
|
AutoUpdate = TRUE,
|
|
|
|
Cachable = Cachable,
|
|
|
|
FastCall = FALSE,
|
|
|
|
HasCoreId = FALSE,
|
|
|
|
HasDialog = FALSE,
|
|
|
|
ReadOnlyDoc = FALSE,
|
|
|
|
Toggle = FALSE,
|
|
|
|
Container = TRUE,
|
|
|
|
RecordAbsolute = FALSE,
|
|
|
|
RecordPerSet;
|
|
|
|
Asynchron;
|
|
|
|
|
|
|
|
Readonly = FALSE,
|
|
|
|
|
|
|
|
/* config: */
|
|
|
|
AccelConfig = FALSE,
|
|
|
|
MenuConfig = FALSE,
|
|
|
|
StatusBarConfig = FALSE,
|
2005-03-08 07:40:36 -06:00
|
|
|
ToolBoxConfig = FALSE,
|
2004-07-13 07:42:00 -05:00
|
|
|
GroupId = GID_VIEW;
|
|
|
|
]
|
|
|
|
|
|
|
|
SfxBoolItem NormalMultiPaneGUI SID_NORMAL_MULTI_PANE_GUI
|
|
|
|
|
|
|
|
[
|
|
|
|
/* flags: */
|
|
|
|
AutoUpdate = TRUE,
|
|
|
|
Cachable = Cachable,
|
|
|
|
FastCall = FALSE,
|
|
|
|
HasCoreId = FALSE,
|
|
|
|
HasDialog = TRUE,
|
2005-11-08 09:29:16 -06:00
|
|
|
ReadOnlyDoc = TRUE,
|
2004-07-13 07:42:00 -05:00
|
|
|
Toggle = FALSE,
|
|
|
|
Container = FALSE,
|
|
|
|
RecordAbsolute = FALSE,
|
|
|
|
RecordPerSet;
|
|
|
|
Asynchron;
|
|
|
|
|
|
|
|
Readonly = FALSE,
|
|
|
|
|
|
|
|
/* config: */
|
|
|
|
AccelConfig = TRUE,
|
|
|
|
MenuConfig = TRUE,
|
|
|
|
StatusBarConfig = FALSE,
|
|
|
|
ToolBoxConfig = TRUE,
|
|
|
|
GroupId = GID_MODIFY;
|
|
|
|
]
|
|
|
|
|
|
|
|
SfxBoolItem SlideSorterMultiPaneGUI SID_SLIDE_SORTER_MULTI_PANE_GUI
|
|
|
|
|
|
|
|
[
|
|
|
|
/* flags: */
|
|
|
|
AutoUpdate = TRUE,
|
|
|
|
Cachable = Cachable,
|
|
|
|
FastCall = FALSE,
|
|
|
|
HasCoreId = FALSE,
|
|
|
|
HasDialog = TRUE,
|
|
|
|
ReadOnlyDoc = FALSE,
|
|
|
|
Toggle = FALSE,
|
|
|
|
Container = FALSE,
|
|
|
|
RecordAbsolute = FALSE,
|
|
|
|
RecordPerSet;
|
|
|
|
Asynchron;
|
|
|
|
|
|
|
|
Readonly = FALSE,
|
|
|
|
|
|
|
|
/* config: */
|
|
|
|
AccelConfig = TRUE,
|
|
|
|
MenuConfig = TRUE,
|
|
|
|
StatusBarConfig = FALSE,
|
|
|
|
ToolBoxConfig = TRUE,
|
|
|
|
GroupId = GID_MODIFY;
|
|
|
|
]
|
|
|
|
|
2004-11-26 12:44:08 -06:00
|
|
|
SfxVoidItem TaskPaneShowPanel SID_TASK_PANE (
|
|
|
|
SfxBoolItem IsPanelVisible ID_VAL_ISVISIBLE,
|
|
|
|
SfxUInt32Item PanelId ID_VAL_PANEL_INDEX)
|
|
|
|
[
|
|
|
|
/* flags: */
|
|
|
|
AutoUpdate = TRUE,
|
|
|
|
Cachable = Cachable,
|
|
|
|
FastCall = FALSE,
|
|
|
|
HasCoreId = FALSE,
|
|
|
|
HasDialog = FALSE,
|
|
|
|
ReadOnlyDoc = FALSE,
|
|
|
|
Toggle = FALSE,
|
|
|
|
Container = TRUE,
|
|
|
|
RecordAbsolute = FALSE,
|
|
|
|
RecordPerSet;
|
|
|
|
Synchron;
|
|
|
|
|
|
|
|
/* config: */
|
|
|
|
AccelConfig = FALSE,
|
|
|
|
MenuConfig = FALSE,
|
|
|
|
StatusBarConfig = FALSE,
|
2005-03-08 07:40:36 -06:00
|
|
|
ToolBoxConfig = FALSE,
|
2004-11-26 12:44:08 -06:00
|
|
|
GroupId = GID_VIEW;
|
|
|
|
]
|
|
|
|
|
2004-01-20 03:19:56 -06:00
|
|
|
interface ViewShellBaseView : View
|
|
|
|
{
|
|
|
|
SID_SWITCH_SHELL
|
|
|
|
[
|
2004-07-13 07:42:00 -05:00
|
|
|
ExecMethod = Execute;
|
|
|
|
]
|
2004-09-08 07:41:11 -05:00
|
|
|
SID_LEFT_PANE_IMPRESS
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
|
|
|
SID_LEFT_PANE_DRAW
|
2004-07-13 07:42:00 -05:00
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
|
|
|
SID_RIGHT_PANE
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
|
|
|
SID_NOTES_WINDOW
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
|
|
|
SID_NORMAL_MULTI_PANE_GUI
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
|
|
|
SID_SLIDE_SORTER_MULTI_PANE_GUI
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
|
|
|
SID_DRAWINGMODE
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
|
|
|
SID_DIAMODE
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
|
|
|
SID_OUTLINEMODE
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
|
|
|
SID_NOTESMODE
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
|
|
|
SID_HANDOUTMODE
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
2004-01-20 03:19:56 -06:00
|
|
|
]
|
2004-11-26 12:44:08 -06:00
|
|
|
SID_TASK_PANE
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
2004-11-16 09:10:54 -06:00
|
|
|
SID_WIN_FULLSCREEN
|
|
|
|
[
|
|
|
|
ExecMethod = Execute;
|
|
|
|
StateMethod = GetState;
|
|
|
|
]
|
2005-11-16 02:19:58 -06:00
|
|
|
FN_INSERT_SOFT_HYPHEN // status(final|play)
|
|
|
|
[
|
|
|
|
ExecMethod = Execute ;
|
|
|
|
StateMethod = GetState ;
|
|
|
|
]
|
|
|
|
FN_INSERT_HARDHYPHEN // status()
|
|
|
|
[
|
|
|
|
ExecMethod = Execute ;
|
|
|
|
StateMethod = GetState ;
|
|
|
|
]
|
|
|
|
FN_INSERT_HARD_SPACE // status(final|play)
|
|
|
|
[
|
|
|
|
ExecMethod = Execute ;
|
|
|
|
StateMethod = GetState ;
|
|
|
|
]
|
|
|
|
SID_INSERT_RLM
|
|
|
|
[
|
|
|
|
ExecMethod = Execute ;
|
|
|
|
StateMethod = GetState ;
|
|
|
|
]
|
|
|
|
SID_INSERT_LRM
|
|
|
|
[
|
|
|
|
ExecMethod = Execute ;
|
|
|
|
StateMethod = GetState ;
|
|
|
|
]
|
|
|
|
SID_INSERT_ZWSP
|
|
|
|
[
|
|
|
|
ExecMethod = Execute ;
|
|
|
|
StateMethod = GetState ;
|
|
|
|
]
|
|
|
|
SID_INSERT_ZWNBSP
|
|
|
|
[
|
|
|
|
ExecMethod = Execute ;
|
|
|
|
StateMethod = GetState ;
|
|
|
|
]
|
2005-09-23 08:58:35 -05:00
|
|
|
SID_RESTORE_EDITING_VIEW
|
|
|
|
[
|
|
|
|
ExecMethod = Execute ;
|
|
|
|
StateMethod = GetState ;
|
|
|
|
]
|
2004-01-20 03:19:56 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
shell ViewShellBase : SfxViewShell
|
|
|
|
{
|
|
|
|
import ViewShellBaseView[Automation];
|
|
|
|
}
|