summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/VAxisOrGridBase.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-05-15 07:03:52 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-05-15 07:03:52 +0000
commit696c2ff283f12f524bdf9ed8ee0b54eacd5973e8 (patch)
tree80bd897732c17892f769ff6821921530e3fbb102 /chart2/source/view/axes/VAxisOrGridBase.cxx
parent376b2ac5aac7d221733e865d2398d4cf30db3134 (diff)
INTEGRATION: CWS chart26_DEV300 (1.2.130); FILE MERGED
2008/04/23 19:23:29 iha 1.2.130.1: #i72994# good automatic placement of walls, grid lines and axes labels dependent on 3D rotation
Diffstat (limited to 'chart2/source/view/axes/VAxisOrGridBase.cxx')
-rw-r--r--chart2/source/view/axes/VAxisOrGridBase.cxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/chart2/source/view/axes/VAxisOrGridBase.cxx b/chart2/source/view/axes/VAxisOrGridBase.cxx
index a32d9d53391d..472349088584 100644
--- a/chart2/source/view/axes/VAxisOrGridBase.cxx
+++ b/chart2/source/view/axes/VAxisOrGridBase.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: VAxisOrGridBase.cxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@@ -50,6 +50,9 @@ using ::com::sun::star::uno::Reference;
VAxisOrGridBase::VAxisOrGridBase( sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount )
: PlotterBase( nDimensionCount )
, m_nDimensionIndex( nDimensionIndex )
+ , m_eLeftWallPos(CuboidPlanePosition_Left)
+ , m_eBackWallPos(CuboidPlanePosition_Back)
+ , m_eBottomPos(CuboidPlanePosition_Bottom)
{
}
@@ -72,6 +75,13 @@ void VAxisOrGridBase::setTransformationSceneToScreen( const drawing::HomogenMatr
PlotterBase::setTransformationSceneToScreen( rMatrix);
}
+void VAxisOrGridBase::set3DWallPositions( CuboidPlanePosition eLeftWallPos, CuboidPlanePosition eBackWallPos, CuboidPlanePosition eBottomPos )
+{
+ m_eLeftWallPos = eLeftWallPos;
+ m_eBackWallPos = eBackWallPos;
+ m_eBottomPos = eBottomPos;
+}
+
TickmarkHelper* VAxisOrGridBase::createTickmarkHelper()
{
TickmarkHelper* pRet=NULL;