Files
libreoffice/sd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx
Rüdiger Timm 9552b7dd8e INTEGRATION: CWS ooo19126 (1.4.66); FILE MERGED
2005/09/05 13:24:54 rt 1.4.66.1: #i54170# Change license header: remove SISSL
2005-09-09 05:39:17 +00:00

83 lines
2.6 KiB
C++

/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: CustomAnimationPanel.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-09 06:39:17 $
*
* 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
*
************************************************************************/
#ifndef SD_TOOLPANEL_CONTROLS_CUSTOM_ANIMATION_PANEL_HXX
#define SD_TOOLPANEL_CONTROLS_CUSTOM_ANIMATION_PANEL_HXX
#include "taskpane/SubToolPanel.hxx"
namespace sd {
class ViewShellBase;
}
namespace sd { namespace toolpanel {
class TreeNode;
class ControlFactory;
} }
namespace sd { namespace toolpanel { namespace controls {
class CustomAnimationPanel
: public SubToolPanel
{
public:
CustomAnimationPanel (
TreeNode* pParent,
ViewShellBase& rBase);
virtual ~CustomAnimationPanel (void);
static std::auto_ptr<ControlFactory> CreateControlFactory (ViewShellBase& rBase);
virtual Size GetPreferredSize (void);
virtual sal_Int32 GetPreferredWidth (sal_Int32 nHeigh);
virtual sal_Int32 GetPreferredHeight (sal_Int32 nWidth);
virtual ::Window* GetWindow (void);
virtual bool IsResizable (void);
virtual bool IsExpandable (void) const;
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible > CreateAccessibleObject (
const ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible>& rxParent);
private:
Size maPreferredSize;
::Window* mpWrappedControl;
};
} } } // end of namespace ::sd::toolpanel::controls
#endif