Files
loongoffice/sd/source/ui/framework/module/ImpressModule.cxx
Vladimir Glazounov 8694c477a2 INTEGRATION: CWS impress124 (1.2.84); FILE MERGED
2007/07/19 15:41:32 af 1.2.84.1: #i77179# Added ShellStackGuard.
2008-01-29 07:19:48 +00:00

70 lines
2.3 KiB
C++

/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ImpressModule.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: vg $ $Date: 2008-01-29 08:19:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library 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 for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************/
#include "precompiled_sd.hxx"
#include "framework/ImpressModule.hxx"
#include "framework/FrameworkHelper.hxx"
#include "ViewTabBarModule.hxx"
#include "CenterViewFocusModule.hxx"
#include "SlideSorterModule.hxx"
#include "TaskPaneModule.hxx"
#include "ShellStackGuard.hxx"
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
namespace sd { namespace framework {
void ImpressModule::Initialize (Reference<frame::XController>& rxController)
{
new CenterViewFocusModule(rxController);
new ViewTabBarModule(
rxController,
FrameworkHelper::CreateResourceId(
FrameworkHelper::msViewTabBarURL,
FrameworkHelper::msCenterPaneURL));
new SlideSorterModule(
rxController,
FrameworkHelper::msLeftImpressPaneURL);
TaskPaneModule::Initialize(rxController);
new ShellStackGuard(rxController);
}
} } // end of namespace sd::framework