1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28 #include "precompiled_sd.hxx" 29 #include "PaneShells.hxx" 30 31 #include "PaneChildWindows.hxx" 32 33 #include "glob.hrc" 34 #include "sdresid.hxx" 35 36 #include <sfx2/msg.hxx> 37 #include <sfx2/objface.hxx> 38 39 namespace sd { 40 41 //===== LeftImpressPaneShell ================================================== 42 43 #define ShellClass LeftImpressPaneShell 44 45 SFX_SLOTMAP(LeftImpressPaneShell) 46 { 47 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } 48 }; 49 50 SFX_IMPL_INTERFACE(LeftImpressPaneShell, SfxShell, SdResId(STR_LEFT_IMPRESS_PANE_SHELL)) 51 { 52 SFX_CHILDWINDOW_REGISTRATION( 53 ::sd::LeftPaneImpressChildWindow::GetChildWindowId()); 54 } 55 56 TYPEINIT1(LeftImpressPaneShell, SfxShell); 57 58 59 60 LeftImpressPaneShell::LeftImpressPaneShell (void) 61 : SfxShell() 62 { 63 SetName(rtl::OUString::createFromAscii("LeftImpressPane")); 64 } 65 66 67 68 69 LeftImpressPaneShell::~LeftImpressPaneShell (void) 70 { 71 } 72 73 74 75 76 //===== LeftDrawPaneShell ===================================================== 77 78 #undef ShellClass 79 #define ShellClass LeftDrawPaneShell 80 81 SFX_SLOTMAP(LeftDrawPaneShell) 82 { 83 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } 84 }; 85 86 SFX_IMPL_INTERFACE(LeftDrawPaneShell, SfxShell, SdResId(STR_LEFT_DRAW_PANE_SHELL)) 87 { 88 SFX_CHILDWINDOW_REGISTRATION( 89 ::sd::LeftPaneDrawChildWindow::GetChildWindowId()); 90 } 91 92 TYPEINIT1(LeftDrawPaneShell, SfxShell); 93 94 95 96 LeftDrawPaneShell::LeftDrawPaneShell (void) 97 : SfxShell() 98 { 99 SetName(rtl::OUString::createFromAscii("LeftDrawPane")); 100 } 101 102 103 104 105 LeftDrawPaneShell::~LeftDrawPaneShell (void) 106 { 107 } 108 109 110 111 112 //===== ToolPanelPaneShell ======================================================== 113 114 #undef ShellClass 115 #define ShellClass ToolPanelPaneShell 116 117 SFX_SLOTMAP( ToolPanelPaneShell ) 118 { 119 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } 120 }; 121 122 SFX_IMPL_INTERFACE( ToolPanelPaneShell, SfxShell, SdResId( STR_TOOL_PANEL_SHELL ) ) 123 { 124 SFX_CHILDWINDOW_REGISTRATION( ::sd::ToolPanelChildWindow::GetChildWindowId() ); 125 } 126 127 TYPEINIT1( ToolPanelPaneShell, SfxShell ); 128 129 ToolPanelPaneShell::ToolPanelPaneShell() 130 :SfxShell() 131 { 132 SetName( ::rtl::OUString::createFromAscii( "ToolPanel" ) ); 133 } 134 135 ToolPanelPaneShell::~ToolPanelPaneShell(void) 136 { 137 } 138 139 } // end of namespace ::sd 140