1 /*************************************************************************
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 * OpenOffice.org - a multi-platform office productivity suite
8 * This file is part of OpenOffice.org.
10 * OpenOffice.org is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License version 3
12 * only, as published by the Free Software Foundation.
14 * OpenOffice.org is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License version 3 for more details
18 * (a copy is included in the LICENSE file that accompanied this code).
20 * You should have received a copy of the GNU Lesser General Public License
21 * version 3 along with OpenOffice.org. If not, see
22 * <http://www.openoffice.org/license.html>
23 * for a copy of the LGPLv3 License.
25 ************************************************************************/
27 interface MasterPagesSelectorInterface
29 SID_TP_APPLY_TO_ALL_SLIDES
31 ExecMethod = Execute ;
32 StateMethod = GetState ;
34 SID_TP_APPLY_TO_SELECTED_SLIDES
36 ExecMethod = Execute ;
37 StateMethod = GetState ;
39 SID_TP_USE_FOR_NEW_PRESENTATIONS
41 ExecMethod = Execute ;
42 StateMethod = GetState ;
44 SID_TP_SHOW_SMALL_PREVIEW
46 ExecMethod = Execute ;
47 StateMethod = GetState ;
49 SID_TP_SHOW_LARGE_PREVIEW
51 ExecMethod = Execute ;
52 StateMethod = GetState ;
57 ExecMethod = Execute ;
58 StateMethod = GetState ;
61 // The copy and paste slots are included here so that they later can be
62 // disabled in order to remove them from context menus.
65 ExecMethod = Execute ;
66 StateMethod = GetState ;
70 ExecMethod = Execute ;
71 StateMethod = GetState ;
75 ExecMethod = Execute ;
76 StateMethod = GetState ;
78 SID_DELETE_MASTER_PAGE
80 ExecMethod = Execute ;
81 StateMethod = GetState ;
85 interface TaskPaneLayoutMenuInterface
87 SID_TP_APPLY_TO_SELECTED_SLIDES
89 ExecMethod = Execute ;
90 StateMethod = GetState ;
92 SID_INSERTPAGE_LAYOUT_MENU
94 ExecMethod = Execute ;
95 StateMethod = GetState ;
98 // The copy and paste slots are included here so that they later can be
99 // disabled in order to remove them from context menus.
102 ExecMethod = Execute ;
103 StateMethod = GetState ;
107 ExecMethod = Execute ;
108 StateMethod = GetState ;
112 ExecMethod = Execute ;
113 StateMethod = GetState ;
117 shell MasterPagesSelector
119 import MasterPagesSelectorInterface[Automation];
124 import TaskPaneLayoutMenuInterface[Automation];
127 shell ToolPanelViewShell