INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED

2006/04/10 15:03:37 iha 1.2.4.5: api restructure axis, grids, scales and increments
2006/04/10 12:25:17 iha 1.2.4.4: api restructure axis, grids, scales and increments
2005/10/07 12:17:52 bm 1.2.4.3: RESYNC: (1.2-1.3); FILE MERGED
2004/03/22 19:39:19 iha 1.2.4.2: transport information bSwapXAndYAxis over method setScales not constructor
2004/03/22 17:33:44 iha 1.2.4.1: added parameter SwapXAndYAxis for horizontal bar chart
This commit is contained in:
Vladimir Glazounov 2007-05-22 18:11:32 +00:00
parent babe5ab389
commit 1d33b9381f

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: VCartesianGrid.hxx,v $ * $RCSfile: VCartesianGrid.hxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: rt $ $Date: 2005-09-08 01:39:10 $ * last change: $Author: vg $ $Date: 2007-05-22 19:11:32 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -35,13 +35,9 @@
#ifndef _CHART2_VCARTESIANGRID_HXX #ifndef _CHART2_VCARTESIANGRID_HXX
#define _CHART2_VCARTESIANGRID_HXX #define _CHART2_VCARTESIANGRID_HXX
#include "VMeterBase.hxx" #include "VAxisOrGridBase.hxx"
#include "VLineProperties.hxx" #include "VLineProperties.hxx"
#ifndef _COM_SUN_STAR_CHART2_XGRID_HPP_
#include <com/sun/star/chart2/XGrid.hpp>
#endif
//............................................................................. //.............................................................................
namespace chart namespace chart
{ {
@ -51,21 +47,30 @@ namespace chart
/** /**
*/ */
class VCartesianGrid : public VMeterBase class VCartesianGrid : public VAxisOrGridBase
{ {
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// public methods // public methods
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
public: public:
VCartesianGrid( const ::com::sun::star::uno::Reference< VCartesianGrid( sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount
::com::sun::star::chart2::XGrid >& xGrid , const ::com::sun::star::uno::Sequence<
, sal_Int32 nDimensionCount ); ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet > >& rGridPropertiesList //main grid, subgrid, subsubgrid etc
);
virtual ~VCartesianGrid(); virtual ~VCartesianGrid();
virtual void SAL_CALL createShapes(); virtual void SAL_CALL createShapes();
static void fillLinePropertiesFromGridModel( ::std::vector<VLineProperties>& rLinePropertiesList static void fillLinePropertiesFromGridModel( ::std::vector<VLineProperties>& rLinePropertiesList
, ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xProps ); , const ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet > >& rGridPropertiesList );
private:
::com::sun::star::uno::Sequence<
::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet > > m_aGridPropertiesList; //main grid, subgrid, subsubgrid etc
}; };
//............................................................................. //.............................................................................