Files
libreoffice/chart2/source/controller/dialogs/tp_LegendPosition.hxx
Vladimir Glazounov 39614a2378 INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED
2006/01/06 20:27:26 iha 1.2.4.3: added legendposition to wizard and restructured legend postiion control classes
2005/10/07 11:19:59 bm 1.2.4.2: RESYNC: (1.2-1.3); FILE MERGED
2004/09/07 10:04:06 bm 1.2.4.1: fixed order of members to fit order in dialog
2007-05-22 16:46:03 +00:00

77 lines
2.5 KiB
C++

/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tp_LegendPosition.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: vg $ $Date: 2007-05-22 17:46:03 $
*
* 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 _CHART2_TP_LEGENDPOSITION_HXX
#define _CHART2_TP_LEGENDPOSITION_HXX
// header for SfxTabPage
#ifndef _SFXTABDLG_HXX
#include <sfx2/tabdlg.hxx>
#endif
// header for FixedText
#ifndef _SV_FIXED_HXX
#include <vcl/fixed.hxx>
#endif
//for auto_ptr
#include <memory>
//.............................................................................
namespace chart
{
//.............................................................................
class LegendPositionResources;
class SchLegendPosTabPage : public SfxTabPage
{
private:
FixedLine aGrpLegend;
::std::auto_ptr< LegendPositionResources > m_apLegendPositionResources;
public:
SchLegendPosTabPage(Window* pParent, const SfxItemSet& rInAttrs);
virtual ~SchLegendPosTabPage();
static SfxTabPage* Create(Window* pParent, const SfxItemSet& rInAttrs);
virtual BOOL FillItemSet(SfxItemSet& rOutAttrs);
virtual void Reset(const SfxItemSet& rInAttrs);
};
//.............................................................................
} //namespace chart
//.............................................................................
#endif