/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2009 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: TaskPaneViewShell.sdi,v $ * $Revision: 1.9 $ * * This file is part of OpenOffice.org. * * 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. * * 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). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ SfxVoidItem TaskPaneApplyToAllSlides SID_TP_APPLY_TO_ALL_SLIDES [ /* flags: */ AutoUpdate = TRUE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, Container = FALSE, RecordAbsolute = FALSE, RecordPerSet; Synchron; Readonly = FALSE, /* config: */ AccelConfig = FALSE, MenuConfig = FALSE, StatusBarConfig = FALSE, ToolBoxConfig = FALSE, GroupId = GID_VIEW; ] //Wangzhe Add for NewBehavior of MasterPageSidePanel 20090806 >>>>>>>>======================== SfxVoidItem TaskPaneMasterViewReplaceAllMasterPages SID_TP_MV_REPLACE_ALL_MASTERPAGES [ /* flags: */ AutoUpdate = TRUE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, Container = FALSE, RecordAbsolute = FALSE, RecordPerSet; Synchron; Readonly = FALSE, /* config: */ AccelConfig = FALSE, MenuConfig = FALSE, StatusBarConfig = FALSE, ToolBoxConfig = FALSE, GroupId = GID_VIEW; ] SfxVoidItem TaskPaneMasterViewReplaceSelectedMasterPages SID_TP_MV_REPLACE_SELECTED_MASTERPAGES [ /* flags: */ AutoUpdate = TRUE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, Container = FALSE, RecordAbsolute = FALSE, RecordPerSet; Synchron; Readonly = FALSE, /* config: */ AccelConfig = FALSE, MenuConfig = FALSE, StatusBarConfig = FALSE, ToolBoxConfig = FALSE, GroupId = GID_VIEW; ] SfxVoidItem TaskPaneMasterViewAddMasterPages SID_TP_MV_ADD_MASTERPAGES [ /* flags: */ AutoUpdate = TRUE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, Container = FALSE, RecordAbsolute = FALSE, RecordPerSet; Synchron; Readonly = FALSE, /* config: */ AccelConfig = FALSE, MenuConfig = FALSE, StatusBarConfig = FALSE, ToolBoxConfig = FALSE, GroupId = GID_VIEW; ] //Added <<<<<<<<============================ //Wangzhe Added for New Master Page Context Menu Item 20090825 >>>>>>>>======================== SfxVoidItem TaskPaneOpenTemplateOrganize SID_TP_OPEN_TEMPLATE_ORGANIZE [ /* flags: */ AutoUpdate = TRUE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, Container = FALSE, RecordAbsolute = FALSE, RecordPerSet; Synchron; Readonly = FALSE, /* config: */ AccelConfig = FALSE, MenuConfig = FALSE, StatusBarConfig = FALSE, ToolBoxConfig = FALSE, GroupId = GID_VIEW; ] //Added End<<<<<<<<============================ SfxVoidItem TaskPaneApplyToSelectedSlides SID_TP_APPLY_TO_SELECTED_SLIDES [ /* flags: */ AutoUpdate = TRUE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, Container = FALSE, RecordAbsolute = FALSE, RecordPerSet; Synchron; Readonly = FALSE, /* config: */ AccelConfig = FALSE, MenuConfig = FALSE, StatusBarConfig = FALSE, ToolBoxConfig = FALSE, GroupId = GID_VIEW; ] SfxVoidItem TaskPaneUseForNewPresentations SID_TP_USE_FOR_NEW_PRESENTATIONS [ /* flags: */ AutoUpdate = TRUE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, Container = FALSE, RecordAbsolute = FALSE, RecordPerSet; Synchron; Readonly = FALSE, /* config: */ AccelConfig = FALSE, MenuConfig = FALSE, StatusBarConfig = FALSE, ToolBoxConfig = FALSE, GroupId = GID_VIEW; ] SfxVoidItem TaskPaneShowSmallPreview SID_TP_SHOW_SMALL_PREVIEW [ /* flags: */ AutoUpdate = TRUE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, Container = FALSE, RecordAbsolute = FALSE, RecordPerSet; Synchron; Readonly = FALSE, /* config: */ AccelConfig = FALSE, MenuConfig = FALSE, StatusBarConfig = FALSE, ToolBoxConfig = FALSE, GroupId = GID_VIEW; ] SfxVoidItem TaskPaneShowLargePreview SID_TP_SHOW_LARGE_PREVIEW [ /* flags: */ AutoUpdate = TRUE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, Container = FALSE, RecordAbsolute = FALSE, RecordPerSet; Synchron; Readonly = FALSE, /* config: */ AccelConfig = FALSE, MenuConfig = FALSE, StatusBarConfig = FALSE, ToolBoxConfig = FALSE, GroupId = GID_VIEW; ] SfxVoidItem TaskPaneInsertPage SID_INSERTPAGE_LAYOUT_MENU [ /* flags: */ AutoUpdate = FALSE, Cachable = Cachable, FastCall = FALSE, HasCoreId = FALSE, HasDialog = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, Container = FALSE, RecordAbsolute = FALSE, RecordPerSet; Synchron; Readonly = TRUE, /* config: */ AccelConfig = TRUE, MenuConfig = TRUE, StatusBarConfig = FALSE, ToolBoxConfig = TRUE, GroupId = GID_INSERT; ] interface MasterPagesSelectorInterface { SID_TP_APPLY_TO_ALL_SLIDES [ ExecMethod = Execute ; StateMethod = GetState ; ] //Wangzhe Add for NewBehavior of MasterPageSidePanel 20090806 >>>>>>>>======================== SID_TP_MV_REPLACE_ALL_MASTERPAGES [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_TP_MV_REPLACE_SELECTED_MASTERPAGES [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_TP_MV_ADD_MASTERPAGES [ ExecMethod = Execute ; StateMethod = GetState ; ] //Added <<<<<<<<============================ //Wangzhe Added for New Master Page Context Menu Item 20090825 >>>>>>>>======================== SID_TP_OPEN_TEMPLATE_ORGANIZE [ ExecMethod = Execute ; StateMethod = GetState ; ] //Added End<<<<<<<<============================ SID_TP_APPLY_TO_SELECTED_SLIDES [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_TP_USE_FOR_NEW_PRESENTATIONS [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_TP_SHOW_SMALL_PREVIEW [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_TP_SHOW_LARGE_PREVIEW [ ExecMethod = Execute ; StateMethod = GetState ; ] // The copy and paste slots are included here so that they later can be // disabled in order to remove them from context menus. SID_CUT [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_COPY [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_PASTE [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_DELETE_MASTER_PAGE [ ExecMethod = Execute ; StateMethod = GetState ; ] } interface TaskPaneLayoutMenuInterface { SID_TP_APPLY_TO_SELECTED_SLIDES [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_INSERTPAGE_LAYOUT_MENU [ ExecMethod = Execute ; StateMethod = GetState ; ] // The copy and paste slots are included here so that they later can be // disabled in order to remove them from context menus. SID_CUT [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_COPY [ ExecMethod = Execute ; StateMethod = GetState ; ] SID_PASTE [ ExecMethod = Execute ; StateMethod = GetState ; ] } shell MasterPagesSelector { import MasterPagesSelectorInterface[Automation]; } shell LayoutMenu { import TaskPaneLayoutMenuInterface[Automation]; } shell TaskPaneViewShell { }