2007-04-03 09:41:01 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 13:34:19 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2007-04-03 09:41:01 -05:00
|
|
|
*
|
2010-02-12 08:01:35 -06:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2007-04-03 09:41:01 -05:00
|
|
|
*
|
2008-04-10 13:34:19 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2007-04-03 09:41:01 -05:00
|
|
|
*
|
2008-04-10 13:34:19 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2007-04-03 09:41:01 -05:00
|
|
|
*
|
2008-04-10 13:34:19 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2007-04-03 09:41:01 -05:00
|
|
|
*
|
2008-04-10 13:34:19 -05:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2007-04-03 09:41:01 -05:00
|
|
|
*
|
2008-04-10 13:34:19 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2007-04-03 09:41:01 -05:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#include "precompiled_sd.hxx"
|
|
|
|
#include "PaneShells.hxx"
|
|
|
|
|
|
|
|
#include "PaneChildWindows.hxx"
|
|
|
|
|
|
|
|
#include "glob.hrc"
|
|
|
|
#include "sdresid.hxx"
|
|
|
|
|
|
|
|
#include <sfx2/msg.hxx>
|
|
|
|
#include <sfx2/objface.hxx>
|
|
|
|
|
|
|
|
namespace sd {
|
|
|
|
|
|
|
|
//===== LeftImpressPaneShell ==================================================
|
|
|
|
|
|
|
|
#define ShellClass LeftImpressPaneShell
|
|
|
|
|
|
|
|
SFX_SLOTMAP(LeftImpressPaneShell)
|
|
|
|
{
|
|
|
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
SFX_IMPL_INTERFACE(LeftImpressPaneShell, SfxShell, SdResId(STR_LEFT_IMPRESS_PANE_SHELL))
|
|
|
|
{
|
|
|
|
SFX_CHILDWINDOW_REGISTRATION(
|
|
|
|
::sd::LeftPaneImpressChildWindow::GetChildWindowId());
|
|
|
|
}
|
|
|
|
|
|
|
|
TYPEINIT1(LeftImpressPaneShell, SfxShell);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LeftImpressPaneShell::LeftImpressPaneShell (void)
|
|
|
|
: SfxShell()
|
|
|
|
{
|
|
|
|
SetName(rtl::OUString::createFromAscii("LeftImpressPane"));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LeftImpressPaneShell::~LeftImpressPaneShell (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//===== LeftDrawPaneShell =====================================================
|
|
|
|
|
|
|
|
#undef ShellClass
|
|
|
|
#define ShellClass LeftDrawPaneShell
|
|
|
|
|
|
|
|
SFX_SLOTMAP(LeftDrawPaneShell)
|
|
|
|
{
|
|
|
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
SFX_IMPL_INTERFACE(LeftDrawPaneShell, SfxShell, SdResId(STR_LEFT_DRAW_PANE_SHELL))
|
|
|
|
{
|
|
|
|
SFX_CHILDWINDOW_REGISTRATION(
|
|
|
|
::sd::LeftPaneDrawChildWindow::GetChildWindowId());
|
|
|
|
}
|
|
|
|
|
|
|
|
TYPEINIT1(LeftDrawPaneShell, SfxShell);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LeftDrawPaneShell::LeftDrawPaneShell (void)
|
|
|
|
: SfxShell()
|
|
|
|
{
|
|
|
|
SetName(rtl::OUString::createFromAscii("LeftDrawPane"));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LeftDrawPaneShell::~LeftDrawPaneShell (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//===== RightPaneShell ========================================================
|
|
|
|
|
|
|
|
#undef ShellClass
|
|
|
|
#define ShellClass RightPaneShell
|
|
|
|
|
|
|
|
SFX_SLOTMAP(RightPaneShell)
|
|
|
|
{
|
|
|
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
SFX_IMPL_INTERFACE(RightPaneShell, SfxShell, SdResId(STR_RIGHT_PANE_SHELL))
|
|
|
|
{
|
|
|
|
SFX_CHILDWINDOW_REGISTRATION(
|
|
|
|
::sd::RightPaneChildWindow::GetChildWindowId());
|
|
|
|
}
|
|
|
|
|
|
|
|
TYPEINIT1(RightPaneShell, SfxShell);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RightPaneShell::RightPaneShell (void)
|
|
|
|
: SfxShell()
|
|
|
|
{
|
|
|
|
SetName(rtl::OUString::createFromAscii("RightPane"));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RightPaneShell::~RightPaneShell (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
} // end of namespace ::sd
|