1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #include "precompiled_sd.hxx" 25 #include "PaneShells.hxx" 26 27 #include "PaneChildWindows.hxx" 28 29 #include "glob.hrc" 30 #include "sdresid.hxx" 31 32 #include <sfx2/msg.hxx> 33 #include <sfx2/objface.hxx> 34 35 namespace sd { 36 37 //===== LeftImpressPaneShell ================================================== 38 39 #define ShellClass LeftImpressPaneShell 40 41 SFX_SLOTMAP(LeftImpressPaneShell) 42 { 43 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } 44 }; 45 46 SFX_IMPL_INTERFACE(LeftImpressPaneShell, SfxShell, SdResId(STR_LEFT_IMPRESS_PANE_SHELL)) 47 { 48 SFX_CHILDWINDOW_REGISTRATION( 49 ::sd::LeftPaneImpressChildWindow::GetChildWindowId()); 50 } 51 52 TYPEINIT1(LeftImpressPaneShell, SfxShell); 53 54 55 56 LeftImpressPaneShell::LeftImpressPaneShell (void) 57 : SfxShell() 58 { 59 SetName(rtl::OUString::createFromAscii("LeftImpressPane")); 60 } 61 62 63 64 65 LeftImpressPaneShell::~LeftImpressPaneShell (void) 66 { 67 } 68 69 70 71 72 //===== LeftDrawPaneShell ===================================================== 73 74 #undef ShellClass 75 #define ShellClass LeftDrawPaneShell 76 77 SFX_SLOTMAP(LeftDrawPaneShell) 78 { 79 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } 80 }; 81 82 SFX_IMPL_INTERFACE(LeftDrawPaneShell, SfxShell, SdResId(STR_LEFT_DRAW_PANE_SHELL)) 83 { 84 SFX_CHILDWINDOW_REGISTRATION( 85 ::sd::LeftPaneDrawChildWindow::GetChildWindowId()); 86 } 87 88 TYPEINIT1(LeftDrawPaneShell, SfxShell); 89 90 91 92 LeftDrawPaneShell::LeftDrawPaneShell (void) 93 : SfxShell() 94 { 95 SetName(rtl::OUString::createFromAscii("LeftDrawPane")); 96 } 97 98 99 100 101 LeftDrawPaneShell::~LeftDrawPaneShell (void) 102 { 103 } 104 105 106 107 108 //===== ToolPanelPaneShell ======================================================== 109 110 #undef ShellClass 111 #define ShellClass ToolPanelPaneShell 112 113 SFX_SLOTMAP( ToolPanelPaneShell ) 114 { 115 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } 116 }; 117 118 SFX_IMPL_INTERFACE( ToolPanelPaneShell, SfxShell, SdResId( STR_TOOL_PANEL_SHELL ) ) 119 { 120 SFX_CHILDWINDOW_REGISTRATION( ::sd::ToolPanelChildWindow::GetChildWindowId() ); 121 } 122 123 TYPEINIT1( ToolPanelPaneShell, SfxShell ); 124 125 ToolPanelPaneShell::ToolPanelPaneShell() 126 :SfxShell() 127 { 128 SetName( ::rtl::OUString::createFromAscii( "ToolPanel" ) ); 129 } 130 131 ToolPanelPaneShell::~ToolPanelPaneShell(void) 132 { 133 } 134 135 } // end of namespace ::sd 136