summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-04-18 12:22:04 +0000
committerRüdiger Timm <rt@openoffice.org>2008-04-18 12:22:04 +0000
commit959e65a358877cff4023660fadb163bf7e87bd7d (patch)
treed9052e9be3c97c86cad76946e575067cb0a4e6bf /chart2
parent2603650461881352193d202a808c480c9af38e13 (diff)
INTEGRATION: CWS xmlfilter04 (1.2.94); FILE MERGED
2008/03/14 15:40:02 iha 1.2.94.1: #i72994# simpler access to 3D settings
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/inc/ThreeDHelper.hxx14
1 files changed, 13 insertions, 1 deletions
diff --git a/chart2/source/inc/ThreeDHelper.hxx b/chart2/source/inc/ThreeDHelper.hxx
index bb6939f89c69..2c82a7ee6c70 100644
--- a/chart2/source/inc/ThreeDHelper.hxx
+++ b/chart2/source/inc/ThreeDHelper.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ThreeDHelper.hxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@@ -72,6 +72,15 @@ public:
::com::sun::star::beans::XPropertySet >& xSceneProperties
, double fXAngleRad, double fYAngleRad, double fZAngleRad );
+ static void getRotationFromDiagram(
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::beans::XPropertySet >& xSceneProperties
+ , sal_Int32& rnHorizontalAngleDegree, sal_Int32& rnVerticalAngleDegree );
+ static void setRotationToDiagram(
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::beans::XPropertySet >& xSceneProperties
+ , sal_Int32 nHorizontalAngleDegree, sal_Int32 nVerticalYAngleDegree );
+
static void switchRightAngledAxes( const ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet >& xSceneProperties
, sal_Bool bRightAngledAxes, bool bRotateLights=true );
@@ -91,6 +100,9 @@ public:
static void ensureCameraDistanceRange( double& rfCameraDistance );
static void getCameraDistanceRange( double& rfMinimumDistance, double& rfMaximumDistance );
+ static double CameraDistanceToPerspective( double fCameraDistance );
+ static double PerspectiveToCameraDistance( double fPerspective );
+
static ThreeDLookScheme detectScheme( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDiagram >& xDiagram );
static void setScheme( const ::com::sun::star::uno::Reference<