2010-10-27 12:53:26 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2007-04-03 15:05:28 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 19:47:38 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2007-04-03 15:05:28 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2007-04-03 15:05:28 +00:00
|
|
|
*
|
2008-04-10 19:47:38 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2007-04-03 15:05:28 +00:00
|
|
|
*
|
2008-04-10 19:47:38 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2007-04-03 15:05:28 +00:00
|
|
|
*
|
2008-04-10 19:47:38 +00: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 15:05:28 +00:00
|
|
|
*
|
2008-04-10 19:47:38 +00: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 15:05:28 +00:00
|
|
|
*
|
2008-04-10 19:47:38 +00: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 15:05:28 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef SD_PANE_SHELLS_HXX
|
|
|
|
#define SD_PANE_SHELLS_HXX
|
|
|
|
|
|
|
|
|
|
|
|
#include <sfx2/module.hxx>
|
|
|
|
#include <sfx2/shell.hxx>
|
|
|
|
#include "glob.hxx"
|
|
|
|
|
|
|
|
class CommandEvent;
|
|
|
|
|
|
|
|
namespace sd {
|
|
|
|
|
|
|
|
|
|
|
|
/** Shell that displays the left pane for Impress. The shell does not do
|
|
|
|
anything else and has especially no slots.
|
|
|
|
*/
|
|
|
|
class LeftImpressPaneShell
|
|
|
|
: public SfxShell
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
TYPEINFO();
|
|
|
|
SFX_DECL_INTERFACE(SD_IF_SDLEFTIMPRESSPANESHELL)
|
|
|
|
|
|
|
|
LeftImpressPaneShell (void);
|
|
|
|
virtual ~LeftImpressPaneShell (void);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Shell that displays the left pane for Draw. The shell does not do
|
|
|
|
anything else and has especially no slots.
|
|
|
|
*/
|
|
|
|
class LeftDrawPaneShell
|
|
|
|
: public SfxShell
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
TYPEINFO();
|
|
|
|
SFX_DECL_INTERFACE(SD_IF_SDLEFTDRAWPANESHELL)
|
|
|
|
|
|
|
|
LeftDrawPaneShell (void);
|
|
|
|
virtual ~LeftDrawPaneShell (void);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Shell that displays the right pane for both Impress and Draw. The shell
|
|
|
|
does not do anything else and has especially no slots.
|
|
|
|
*/
|
slidecopy: initial version of a "Tool Panel"
At the moment, this implementation is parallel to the existing TaskPane implementation, but on the medium term, it is
intended to replace it. No change in functionality is planned for the moment, just the panel selection is done via
a tab bar, instead of the the "jumping drawers".
Pending tasks (as known so far):
- Accessibility. No implementation at all, yet.
- showing/hiding tool panels from the "View" drop down menu
- connection to the resource framework. At the moment, de/activating panels completely bypasses the resource
framework.
- alternative implementation of the PanelDeckLayouter which mimics the old design. To be activated by default, for
the moment.
- removal of the (old, by then) TaskPane implementation. Care needs to be taken that the framework API stays
unchanged, i.e., the current ToolPanel resource must be renamed back to RightPane when RightPane is not
occupied anymore by the old implementation. Same for other resource names.
2010-03-15 13:53:19 +01:00
|
|
|
class ToolPanelPaneShell : public SfxShell
|
2007-04-03 15:05:28 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
TYPEINFO();
|
slidecopy: initial version of a "Tool Panel"
At the moment, this implementation is parallel to the existing TaskPane implementation, but on the medium term, it is
intended to replace it. No change in functionality is planned for the moment, just the panel selection is done via
a tab bar, instead of the the "jumping drawers".
Pending tasks (as known so far):
- Accessibility. No implementation at all, yet.
- showing/hiding tool panels from the "View" drop down menu
- connection to the resource framework. At the moment, de/activating panels completely bypasses the resource
framework.
- alternative implementation of the PanelDeckLayouter which mimics the old design. To be activated by default, for
the moment.
- removal of the (old, by then) TaskPane implementation. Care needs to be taken that the framework API stays
unchanged, i.e., the current ToolPanel resource must be renamed back to RightPane when RightPane is not
occupied anymore by the old implementation. Same for other resource names.
2010-03-15 13:53:19 +01:00
|
|
|
SFX_DECL_INTERFACE( SD_IF_SDTOOLPANELPANESHELL )
|
2007-04-03 15:05:28 +00:00
|
|
|
|
slidecopy: initial version of a "Tool Panel"
At the moment, this implementation is parallel to the existing TaskPane implementation, but on the medium term, it is
intended to replace it. No change in functionality is planned for the moment, just the panel selection is done via
a tab bar, instead of the the "jumping drawers".
Pending tasks (as known so far):
- Accessibility. No implementation at all, yet.
- showing/hiding tool panels from the "View" drop down menu
- connection to the resource framework. At the moment, de/activating panels completely bypasses the resource
framework.
- alternative implementation of the PanelDeckLayouter which mimics the old design. To be activated by default, for
the moment.
- removal of the (old, by then) TaskPane implementation. Care needs to be taken that the framework API stays
unchanged, i.e., the current ToolPanel resource must be renamed back to RightPane when RightPane is not
occupied anymore by the old implementation. Same for other resource names.
2010-03-15 13:53:19 +01:00
|
|
|
ToolPanelPaneShell();
|
|
|
|
virtual ~ToolPanelPaneShell();
|
2007-04-03 15:05:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // end of namespace sd
|
|
|
|
|
|
|
|
#endif
|
2010-10-27 12:53:26 +01:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|