Lines Matching refs:xSceneProperties

59 bool lcl_isRightAngledAxesSetAndSupported( const Reference< beans::XPropertySet >& xSceneProperties  in lcl_isRightAngledAxesSetAndSupported()  argument
62 if( xSceneProperties.is() ) in lcl_isRightAngledAxesSetAndSupported()
64 xSceneProperties->getPropertyValue( C2U("RightAngledAxes")) >>= bRightAngledAxes; in lcl_isRightAngledAxesSetAndSupported()
67 uno::Reference< chart2::XDiagram > xDiagram( xSceneProperties, uno::UNO_QUERY ); in lcl_isRightAngledAxesSetAndSupported()
78 void lcl_RotateLightSource( const Reference< beans::XPropertySet >& xSceneProperties in lcl_RotateLightSource() argument
83 if( xSceneProperties.is() ) in lcl_RotateLightSource()
86 if( xSceneProperties->getPropertyValue( rLightSourceOn ) >>= bLightOn ) in lcl_RotateLightSource()
91 if( xSceneProperties->getPropertyValue( rLightSourceDirection ) >>= aLight ) in lcl_RotateLightSource()
96 xSceneProperties->setPropertyValue( rLightSourceDirection in lcl_RotateLightSource()
104 … ::basegfx::B3DHomMatrix& rLightRottion, const Reference< beans::XPropertySet >& xSceneProperties ) in lcl_rotateLights() argument
106 if(!xSceneProperties.is()) in lcl_rotateLights()
112 …lcl_RotateLightSource( xSceneProperties, C2U("D3DSceneLightDirection1"), C2U("D3DSceneLightOn1"), … in lcl_rotateLights()
113 …lcl_RotateLightSource( xSceneProperties, C2U("D3DSceneLightDirection2"), C2U("D3DSceneLightOn2"), … in lcl_rotateLights()
114 …lcl_RotateLightSource( xSceneProperties, C2U("D3DSceneLightDirection3"), C2U("D3DSceneLightOn3"), … in lcl_rotateLights()
115 …lcl_RotateLightSource( xSceneProperties, C2U("D3DSceneLightDirection4"), C2U("D3DSceneLightOn4"), … in lcl_rotateLights()
116 …lcl_RotateLightSource( xSceneProperties, C2U("D3DSceneLightDirection5"), C2U("D3DSceneLightOn5"), … in lcl_rotateLights()
117 …lcl_RotateLightSource( xSceneProperties, C2U("D3DSceneLightDirection6"), C2U("D3DSceneLightOn6"), … in lcl_rotateLights()
118 …lcl_RotateLightSource( xSceneProperties, C2U("D3DSceneLightDirection7"), C2U("D3DSceneLightOn7"), … in lcl_rotateLights()
119 …lcl_RotateLightSource( xSceneProperties, C2U("D3DSceneLightDirection8"), C2U("D3DSceneLightOn8"), … in lcl_rotateLights()
122 …DHomMatrix lcl_getInverseRotationMatrix( const Reference< beans::XPropertySet >& xSceneProperties ) in lcl_getInverseRotationMatrix() argument
129 xSceneProperties, fXAngleRad, fYAngleRad, fZAngleRad ); in lcl_getInverseRotationMatrix()
136 …HomMatrix lcl_getCompleteRotationMatrix( const Reference< beans::XPropertySet >& xSceneProperties ) in lcl_getCompleteRotationMatrix() argument
143 xSceneProperties, fXAngleRad, fYAngleRad, fZAngleRad ); in lcl_getCompleteRotationMatrix()
330 …::B3DHomMatrix lcl_getCameraMatrix( const uno::Reference< beans::XPropertySet >& xSceneProperties ) in lcl_getCameraMatrix() argument
335 if( xSceneProperties.is() ) in lcl_getCameraMatrix()
336 xSceneProperties->getPropertyValue( C2U( "D3DCameraGeometry" ) ) >>= aCG; in lcl_getCameraMatrix()
931 …const Reference< beans::XPropertySet >& xSceneProperties, double& rfXAngleRad, double& rfYAngleRad… in getRotationAngleFromDiagram()
937 if( !xSceneProperties.is() ) in getRotationAngleFromDiagram()
941 ::basegfx::B3DHomMatrix aFixCameraRotationMatrix( lcl_getCameraMatrix( xSceneProperties ) ); in getRotationAngleFromDiagram()
948 if( xSceneProperties->getPropertyValue( C2U("D3DTransformMatrix")) >>= aHomMatrix ) in getRotationAngleFromDiagram()
974 void ThreeDHelper::switchRightAngledAxes( const Reference< beans::XPropertySet >& xSceneProperties,… in switchRightAngledAxes() argument
978 if( xSceneProperties.is() ) in switchRightAngledAxes()
981 xSceneProperties->getPropertyValue( C2U("RightAngledAxes")) >>= bOldRightAngledAxes; in switchRightAngledAxes()
984xSceneProperties->setPropertyValue( C2U("RightAngledAxes"), uno::makeAny( bRightAngledAxes )); in switchRightAngledAxes()
989 … ::basegfx::B3DHomMatrix aInverseRotation( lcl_getInverseRotationMatrix( xSceneProperties ) ); in switchRightAngledAxes()
990 lcl_rotateLights( aInverseRotation, xSceneProperties ); in switchRightAngledAxes()
994 … ::basegfx::B3DHomMatrix aCompleteRotation( lcl_getCompleteRotationMatrix( xSceneProperties ) ); in switchRightAngledAxes()
995 lcl_rotateLights( aCompleteRotation, xSceneProperties ); in switchRightAngledAxes()
1008 const Reference< beans::XPropertySet >& xSceneProperties in setRotationAngleToDiagram()
1016 if( !xSceneProperties.is() ) in setRotationAngleToDiagram()
1022 … ::basegfx::B3DHomMatrix aInverseOldRotation( lcl_getInverseRotationMatrix( xSceneProperties ) ); in setRotationAngleToDiagram()
1027 lcl_getCameraMatrix( xSceneProperties ) ) ); in setRotationAngleToDiagram()
1041 xSceneProperties->setPropertyValue( in setRotationAngleToDiagram()
1046 xSceneProperties->getPropertyValue( C2U("RightAngledAxes")) >>= bRightAngledAxes; in setRotationAngleToDiagram()
1047 uno::Reference< chart2::XDiagram > xDiagram( xSceneProperties, uno::UNO_QUERY ); in setRotationAngleToDiagram()
1053 lcl_rotateLights( aNewRotation*aInverseOldRotation, xSceneProperties ); in setRotationAngleToDiagram()
1062 …ThreeDHelper::getRotationFromDiagram( const uno::Reference< beans::XPropertySet >& xSceneProperties in getRotationFromDiagram() argument
1066 ThreeDHelper::getRotationAngleFromDiagram( xSceneProperties, fXAngle, fYAngle, fZAngle ); in getRotationFromDiagram()
1068 if( !lcl_isRightAngledAxesSetAndSupported( xSceneProperties ) ) in getRotationFromDiagram()
1089 …d ThreeDHelper::setRotationToDiagram( const uno::Reference< beans::XPropertySet >& xSceneProperties in setRotationToDiagram() argument
1097 if( !lcl_isRightAngledAxesSetAndSupported( xSceneProperties ) ) in setRotationToDiagram()
1101 ThreeDHelper::setRotationAngleToDiagram( xSceneProperties, fXAngle, fYAngle, fZAngle ); in setRotationToDiagram()
1121 const Reference< beans::XPropertySet >& xSceneProperties ) in getCameraDistance()
1125 if( !xSceneProperties.is() ) in getCameraDistance()
1131 xSceneProperties->getPropertyValue( C2U( "D3DCameraGeometry" ) ) >>= aCG; in getCameraDistance()
1145 const Reference< beans::XPropertySet >& xSceneProperties, double fCameraDistance ) in setCameraDistance()
1147 if( !xSceneProperties.is() ) in setCameraDistance()
1156 xSceneProperties->getPropertyValue( C2U( "D3DCameraGeometry" ) ) >>= aCG; in setCameraDistance()
1163 xSceneProperties->setPropertyValue( C2U("D3DCameraGeometry"), uno::makeAny( aCG )); in setCameraDistance()
1274 …reeDHelper::set3DSettingsToDefault( const uno::Reference< beans::XPropertySet >& xSceneProperties ) in set3DSettingsToDefault() argument
1276 Reference< beans::XPropertyState > xState( xSceneProperties, uno::UNO_QUERY ); in set3DSettingsToDefault()
1282 ThreeDHelper::setDefaultRotation( xSceneProperties ); in set3DSettingsToDefault()
1283 ThreeDHelper::setDefaultIllumination( xSceneProperties ); in set3DSettingsToDefault()
1286 …r::setDefaultRotation( const uno::Reference< beans::XPropertySet >& xSceneProperties, bool bPieOrD… in setDefaultRotation() argument
1288 if( !xSceneProperties.is() ) in setDefaultRotation()
1292 xSceneProperties->setPropertyValue( C2U("D3DCameraGeometry"), uno::makeAny( aCameraGeo )); in setDefaultRotation()
1297 xSceneProperties->setPropertyValue( C2U("D3DTransformMatrix"), in setDefaultRotation()
1301 …d ThreeDHelper::setDefaultRotation( const uno::Reference< beans::XPropertySet >& xSceneProperties ) in setDefaultRotation() argument
1303 …bool bPieOrDonut( DiagramHelper::isPieOrDonutChart( uno::Reference< XDiagram >(xSceneProperties, u… in setDefaultRotation()
1304 ThreeDHelper::setDefaultRotation( xSceneProperties, bPieOrDonut ); in setDefaultRotation()
1307 …reeDHelper::setDefaultIllumination( const uno::Reference< beans::XPropertySet >& xSceneProperties ) in setDefaultIllumination() argument
1309 if( !xSceneProperties.is() ) in setDefaultIllumination()
1315 xSceneProperties->getPropertyValue( C2U( "D3DSceneShadeMode" ) )>>= aShadeMode; in setDefaultIllumination()
1316xSceneProperties->setPropertyValue( C2U( UNO_NAME_3D_SCENE_LIGHTON_1 ), uno::makeAny( sal_False ) … in setDefaultIllumination()
1317xSceneProperties->setPropertyValue( C2U( UNO_NAME_3D_SCENE_LIGHTON_3 ), uno::makeAny( sal_False ) … in setDefaultIllumination()
1318xSceneProperties->setPropertyValue( C2U( UNO_NAME_3D_SCENE_LIGHTON_4 ), uno::makeAny( sal_False ) … in setDefaultIllumination()
1319xSceneProperties->setPropertyValue( C2U( UNO_NAME_3D_SCENE_LIGHTON_5 ), uno::makeAny( sal_False ) … in setDefaultIllumination()
1320xSceneProperties->setPropertyValue( C2U( UNO_NAME_3D_SCENE_LIGHTON_6 ), uno::makeAny( sal_False ) … in setDefaultIllumination()
1321xSceneProperties->setPropertyValue( C2U( UNO_NAME_3D_SCENE_LIGHTON_7 ), uno::makeAny( sal_False ) … in setDefaultIllumination()
1322xSceneProperties->setPropertyValue( C2U( UNO_NAME_3D_SCENE_LIGHTON_8 ), uno::makeAny( sal_False ) … in setDefaultIllumination()
1330 lcl_setLightsForScheme( xSceneProperties, aScheme ); in setDefaultIllumination()
1461 …cCuboidPlanePositionForStandardLeftWall( const Reference< beans::XPropertySet >& xSceneProperties ) in getAutomaticCuboidPlanePositionForStandardLeftWall() argument
1466 … ThreeDHelper::getRotationAngleFromDiagram( xSceneProperties, fXAngleRad, fYAngleRad, fZAngleRad ); in getAutomaticCuboidPlanePositionForStandardLeftWall()
1467 if( lcl_isRightAngledAxesSetAndSupported( xSceneProperties ) ) in getAutomaticCuboidPlanePositionForStandardLeftWall()
1477 …cCuboidPlanePositionForStandardBackWall( const Reference< beans::XPropertySet >& xSceneProperties ) in getAutomaticCuboidPlanePositionForStandardBackWall() argument
1482 … ThreeDHelper::getRotationAngleFromDiagram( xSceneProperties, fXAngleRad, fYAngleRad, fZAngleRad ); in getAutomaticCuboidPlanePositionForStandardBackWall()
1483 if( lcl_isRightAngledAxesSetAndSupported( xSceneProperties ) ) in getAutomaticCuboidPlanePositionForStandardBackWall()
1493 …ticCuboidPlanePositionForStandardBottom( const Reference< beans::XPropertySet >& xSceneProperties ) in getAutomaticCuboidPlanePositionForStandardBottom() argument
1498 … ThreeDHelper::getRotationAngleFromDiagram( xSceneProperties, fXAngleRad, fYAngleRad, fZAngleRad ); in getAutomaticCuboidPlanePositionForStandardBottom()
1499 if( lcl_isRightAngledAxesSetAndSupported( xSceneProperties ) ) in getAutomaticCuboidPlanePositionForStandardBottom()