INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED

2006/11/22 17:31:19 iha 1.1.2.4: resync
2006/08/22 19:08:42 iha 1.1.2.3: correct y axis for net charts: show labels + take space for labels into account for diagram size
2006/08/10 15:50:16 iha 1.1.2.2: Axis Label Layout - Font&Diagram Size
2006/04/10 15:03:05 iha 1.1.2.1: api restructure axis, grids, scales and increments
This commit is contained in:
Vladimir Glazounov 2007-05-22 18:10:03 +00:00
parent 449b4bc6e4
commit fb08019168

View file

@ -0,0 +1,98 @@
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: VAxisOrGridBase.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2007-05-22 19:10: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_VAXISORGRIDBASE_HXX
#define _CHART2_VAXISORGRIDBASE_HXX
#include "PlotterBase.hxx"
#ifndef _COM_SUN_STAR_CHART2_EXPLICITINCREMENTDATA_HPP_
#include <com/sun/star/chart2/ExplicitIncrementData.hpp>
#endif
#ifndef _COM_SUN_STAR_CHART2_EXPLICITSCALEDATA_HPP_
#include <com/sun/star/chart2/ExplicitScaleData.hpp>
#endif
#ifndef _COM_SUN_STAR_DRAWING_HOMOGENMATRIX_HPP_
#include <com/sun/star/drawing/HomogenMatrix.hpp>
#endif
#ifndef _COM_SUN_STAR_DRAWING_XSHAPES_HPP_
#include <com/sun/star/drawing/XShapes.hpp>
#endif
#ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#endif
#ifndef _BGFX_MATRIX_B3DHOMMATRIX_HXX
#include <basegfx/matrix/b3dhommatrix.hxx>
#endif
//.............................................................................
namespace chart
{
//.............................................................................
//-----------------------------------------------------------------------------
/**
*/
class ShapeFactory;
class TickmarkHelper;
class VAxisOrGridBase : public PlotterBase
{
public:
VAxisOrGridBase( sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount );
virtual ~VAxisOrGridBase();
virtual void setTransformationSceneToScreen( const ::com::sun::star::drawing::HomogenMatrix& rMatrix );
virtual void SAL_CALL setExplicitScaleAndIncrement(
const ::com::sun::star::chart2::ExplicitScaleData& rScale
, const ::com::sun::star::chart2::ExplicitIncrementData& rIncrement )
throw (::com::sun::star::uno::RuntimeException);
virtual TickmarkHelper* createTickmarkHelper();
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
protected: //member
::com::sun::star::chart2::ExplicitScaleData m_aScale;
::com::sun::star::chart2::ExplicitIncrementData m_aIncrement;
sal_Int32 m_nDimensionIndex;
::basegfx::B3DHomMatrix m_aMatrixScreenToScene;
};
//.............................................................................
} //namespace chart
//.............................................................................
#endif