update dev300-m58
[ooovba.git] / chart2 / source / view / axes / VAxisOrGridBase.hxx
blob83f7139c82736a182d3320f4e864faadd3a04403
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: VAxisOrGridBase.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _CHART2_VAXISORGRIDBASE_HXX
31 #define _CHART2_VAXISORGRIDBASE_HXX
33 #include "PlotterBase.hxx"
34 #include "ThreeDHelper.hxx"
36 #include <com/sun/star/chart2/ExplicitIncrementData.hpp>
37 #include <com/sun/star/chart2/ExplicitScaleData.hpp>
38 #include <com/sun/star/drawing/HomogenMatrix.hpp>
39 #include <com/sun/star/drawing/XShapes.hpp>
40 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
41 #include <basegfx/matrix/b3dhommatrix.hxx>
43 //.............................................................................
44 namespace chart
46 //.............................................................................
48 //-----------------------------------------------------------------------------
49 /**
51 class ShapeFactory;
52 class TickmarkHelper;
54 class VAxisOrGridBase : public PlotterBase
56 public:
57 VAxisOrGridBase( sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount );
58 virtual ~VAxisOrGridBase();
60 virtual void setTransformationSceneToScreen( const ::com::sun::star::drawing::HomogenMatrix& rMatrix );
61 virtual void SAL_CALL setExplicitScaleAndIncrement(
62 const ::com::sun::star::chart2::ExplicitScaleData& rScale
63 , const ::com::sun::star::chart2::ExplicitIncrementData& rIncrement )
64 throw (::com::sun::star::uno::RuntimeException);
65 void set3DWallPositions( CuboidPlanePosition eLeftWallPos, CuboidPlanePosition eBackWallPos, CuboidPlanePosition eBottomPos );
67 virtual TickmarkHelper* createTickmarkHelper();
69 //-------------------------------------------------------------------------
70 //-------------------------------------------------------------------------
71 protected: //member
72 ::com::sun::star::chart2::ExplicitScaleData m_aScale;
73 ::com::sun::star::chart2::ExplicitIncrementData m_aIncrement;
74 sal_Int32 m_nDimensionIndex;
76 ::basegfx::B3DHomMatrix m_aMatrixScreenToScene;
78 CuboidPlanePosition m_eLeftWallPos;
79 CuboidPlanePosition m_eBackWallPos;
80 CuboidPlanePosition m_eBottomPos;
83 //.............................................................................
84 } //namespace chart
85 //.............................................................................
86 #endif