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: PaneShells.cxx,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 #include "precompiled_sd.hxx"
32 #include "PaneShells.hxx"
34 #include "PaneChildWindows.hxx"
37 #include "sdresid.hxx"
39 #include <sfx2/msg.hxx>
40 #include <sfx2/objface.hxx>
44 //===== LeftImpressPaneShell ==================================================
46 #define ShellClass LeftImpressPaneShell
48 SFX_SLOTMAP(LeftImpressPaneShell
)
50 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
53 SFX_IMPL_INTERFACE(LeftImpressPaneShell
, SfxShell
, SdResId(STR_LEFT_IMPRESS_PANE_SHELL
))
55 SFX_CHILDWINDOW_REGISTRATION(
56 ::sd::LeftPaneImpressChildWindow::GetChildWindowId());
59 TYPEINIT1(LeftImpressPaneShell
, SfxShell
);
63 LeftImpressPaneShell::LeftImpressPaneShell (void)
66 SetName(rtl::OUString::createFromAscii("LeftImpressPane"));
72 LeftImpressPaneShell::~LeftImpressPaneShell (void)
79 //===== LeftDrawPaneShell =====================================================
82 #define ShellClass LeftDrawPaneShell
84 SFX_SLOTMAP(LeftDrawPaneShell
)
86 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
89 SFX_IMPL_INTERFACE(LeftDrawPaneShell
, SfxShell
, SdResId(STR_LEFT_DRAW_PANE_SHELL
))
91 SFX_CHILDWINDOW_REGISTRATION(
92 ::sd::LeftPaneDrawChildWindow::GetChildWindowId());
95 TYPEINIT1(LeftDrawPaneShell
, SfxShell
);
99 LeftDrawPaneShell::LeftDrawPaneShell (void)
102 SetName(rtl::OUString::createFromAscii("LeftDrawPane"));
108 LeftDrawPaneShell::~LeftDrawPaneShell (void)
115 //===== RightPaneShell ========================================================
118 #define ShellClass RightPaneShell
120 SFX_SLOTMAP(RightPaneShell
)
122 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
125 SFX_IMPL_INTERFACE(RightPaneShell
, SfxShell
, SdResId(STR_RIGHT_PANE_SHELL
))
127 SFX_CHILDWINDOW_REGISTRATION(
128 ::sd::RightPaneChildWindow::GetChildWindowId());
131 TYPEINIT1(RightPaneShell
, SfxShell
);
135 RightPaneShell::RightPaneShell (void)
138 SetName(rtl::OUString::createFromAscii("RightPane"));
144 RightPaneShell::~RightPaneShell (void)
148 } // end of namespace ::sd