1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: TaskPaneViewShell.sdi,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 SfxVoidItem TaskPaneApplyToAllSlides SID_TP_APPLY_TO_ALL_SLIDES
42 RecordAbsolute = FALSE,
51 StatusBarConfig = FALSE,
52 ToolBoxConfig = FALSE,
56 SfxVoidItem TaskPaneApplyToSelectedSlides SID_TP_APPLY_TO_SELECTED_SLIDES
67 RecordAbsolute = FALSE,
76 StatusBarConfig = FALSE,
77 ToolBoxConfig = FALSE,
81 SfxVoidItem TaskPaneUseForNewPresentations SID_TP_USE_FOR_NEW_PRESENTATIONS
92 RecordAbsolute = FALSE,
101 StatusBarConfig = FALSE,
102 ToolBoxConfig = FALSE,
106 SfxVoidItem TaskPaneShowSmallPreview SID_TP_SHOW_SMALL_PREVIEW
117 RecordAbsolute = FALSE,
126 StatusBarConfig = FALSE,
127 ToolBoxConfig = FALSE,
132 SfxVoidItem TaskPaneShowLargePreview SID_TP_SHOW_LARGE_PREVIEW
143 RecordAbsolute = FALSE,
152 StatusBarConfig = FALSE,
153 ToolBoxConfig = FALSE,
157 SfxVoidItem TaskPaneEditMaster SID_TP_EDIT_MASTER
168 RecordAbsolute = FALSE,
177 StatusBarConfig = FALSE,
178 ToolBoxConfig = FALSE,
182 SfxVoidItem TaskPaneInsertPage SID_INSERTPAGE_LAYOUT_MENU
193 RecordAbsolute = FALSE,
202 StatusBarConfig = FALSE,
203 ToolBoxConfig = TRUE,
204 GroupId = GID_INSERT;
208 interface MasterPagesSelectorInterface
210 SID_TP_APPLY_TO_ALL_SLIDES
212 ExecMethod = Execute ;
213 StateMethod = GetState ;
215 SID_TP_APPLY_TO_SELECTED_SLIDES
217 ExecMethod = Execute ;
218 StateMethod = GetState ;
220 SID_TP_USE_FOR_NEW_PRESENTATIONS
222 ExecMethod = Execute ;
223 StateMethod = GetState ;
225 SID_TP_SHOW_SMALL_PREVIEW
227 ExecMethod = Execute ;
228 StateMethod = GetState ;
230 SID_TP_SHOW_LARGE_PREVIEW
232 ExecMethod = Execute ;
233 StateMethod = GetState ;
238 ExecMethod = Execute ;
239 StateMethod = GetState ;
242 // The copy and paste slots are included here so that they later can be
243 // disabled in order to remove them from context menus.
246 ExecMethod = Execute ;
247 StateMethod = GetState ;
251 ExecMethod = Execute ;
252 StateMethod = GetState ;
256 ExecMethod = Execute ;
257 StateMethod = GetState ;
259 SID_DELETE_MASTER_PAGE
261 ExecMethod = Execute ;
262 StateMethod = GetState ;
266 interface TaskPaneLayoutMenuInterface
268 SID_TP_APPLY_TO_SELECTED_SLIDES
270 ExecMethod = Execute ;
271 StateMethod = GetState ;
273 SID_INSERTPAGE_LAYOUT_MENU
275 ExecMethod = Execute ;
276 StateMethod = GetState ;
279 // The copy and paste slots are included here so that they later can be
280 // disabled in order to remove them from context menus.
283 ExecMethod = Execute ;
284 StateMethod = GetState ;
288 ExecMethod = Execute ;
289 StateMethod = GetState ;
293 ExecMethod = Execute ;
294 StateMethod = GetState ;
298 shell MasterPagesSelector
300 import MasterPagesSelectorInterface[Automation];
305 import TaskPaneLayoutMenuInterface[Automation];
308 shell TaskPaneViewShell