| /trunk/main/chart2/source/controller/main/ |
| H A D | PositionAndSizeHelper.cxx | 62 chart2::RelativePosition aRelativePosition; in moveObject() local 63 aRelativePosition.Anchor = drawing::Alignment_CENTER; in moveObject() 66 …aRelativePosition.Primary = (double(aPos.X())+double(aObjectRect.getWidth())/2.0)/double(aPageRect… in moveObject() 67 …aRelativePosition.Secondary = (double(aPos.Y())+double(aObjectRect.getHeight())/2.0)/double(aPageR… in moveObject() 68 xObjectProp->setPropertyValue( C2U( "RelativePosition" ), uno::makeAny(aRelativePosition) ); in moveObject() 73 chart2::RelativePosition aRelativePosition; in moveObject() local 74 aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT; in moveObject() 77 aRelativePosition.Primary = double(aPos.X())/double(aPageRect.getWidth()); in moveObject() 78 aRelativePosition.Secondary = double(aPos.Y())/double(aPageRect.getHeight()); in moveObject() 79 xObjectProp->setPropertyValue( C2U( "RelativePosition" ), uno::makeAny(aRelativePosition) ); in moveObject() [all …]
|
| /trunk/main/chart2/source/controller/chartapiwrapper/ |
| H A D | LegendWrapper.cxx | 149 Any aRelativePosition( xInnerPropertySet->getPropertyValue( C2U( "RelativePosition" ) ) ); in setPropertyValue() local 150 if(aRelativePosition.hasValue()) in setPropertyValue() 314 chart2::RelativePosition aRelativePosition; in setPosition() local 315 aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT; in setPosition() 316 aRelativePosition.Primary = double(aPosition.X)/double(aPageSize.Width); in setPosition() 317 aRelativePosition.Secondary = double(aPosition.Y)/double(aPageSize.Height); in setPosition() 318 xProp->setPropertyValue( C2U( "RelativePosition" ), uno::makeAny(aRelativePosition) ); in setPosition()
|
| H A D | WrappedAutomaticPositionProperties.cxx | 76 … Any aRelativePosition( xInnerPropertySet->getPropertyValue( C2U( "RelativePosition" ) ) ); in setPropertyValue() local 77 if( aRelativePosition.hasValue() ) in setPropertyValue() 93 Any aRelativePosition( xInnerPropertySet->getPropertyValue( C2U( "RelativePosition" ) ) ); in getPropertyValue() local 94 if( !aRelativePosition.hasValue() ) in getPropertyValue()
|
| H A D | DiagramWrapper.cxx | 742 chart2::RelativePosition aRelativePosition; in setPosition() local 743 aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT; in setPosition() 744 aRelativePosition.Primary = double(aPosition.X)/double(aPageSize.Width); in setPosition() 745 aRelativePosition.Secondary = double(aPosition.Y)/double(aPageSize.Height); in setPosition() 746 …if( aRelativePosition.Primary < 0 || aRelativePosition.Secondary < 0 || aRelativePosition.Primary … in setPosition() 753 xProp->setPropertyValue( C2U( "RelativePosition" ), uno::makeAny(aRelativePosition) ); in setPosition() 813 Any aRelativePosition( xDiaProps->getPropertyValue( C2U( "RelativePosition" ) ) ); in isAutomaticDiagramPositioning() local 814 if( aRelativeSize.hasValue() && aRelativePosition.hasValue() ) in isAutomaticDiagramPositioning() 833 Any aRelativePosition( xDiaProps->getPropertyValue( C2U( "RelativePosition" ) ) ); in isExcludingDiagramPositioning() local 834 if( aRelativeSize.hasValue() && aRelativePosition.hasValue() ) in isExcludingDiagramPositioning()
|
| H A D | TitleWrapper.cxx | 244 chart2::RelativePosition aRelativePosition; in setPosition() local 245 aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT; in setPosition() 246 aRelativePosition.Primary = double(aPosition.X)/double(aPageSize.Width); in setPosition() 247 aRelativePosition.Secondary = double(aPosition.Y)/double(aPageSize.Height); in setPosition() 248 … xPropertySet->setPropertyValue( C2U( "RelativePosition" ), uno::makeAny(aRelativePosition) ); in setPosition()
|
| /trunk/main/chart2/source/view/main/ |
| H A D | VLegend.cxx | 1004 chart2::RelativePosition aRelativePosition; in changePosition() local 1007 ! (xLegendProp->getPropertyValue( C2U( "RelativePosition" )) >>= aRelativePosition); in changePosition() 1016 aRelativePosition = lcl_getDefaultPosition( ePos, rOutAvailableSpace, rPageSize ); in changePosition() 1018 rOutAvailableSpace, rPageSize, aRelativePosition, ePos, aLegendSize ); in changePosition() 1026 aAvailableSpace, rPageSize, aRelativePosition, ePos, aLegendSize ); in changePosition() 1032 aRelativePosition = lcl_getDefaultPosition( ePos, rOutAvailableSpace, rPageSize ); in changePosition() 1034 rOutAvailableSpace, rPageSize, aRelativePosition, ePos, aLegendSize ); in changePosition()
|
| H A D | ChartView.cxx | 2108 chart2::RelativePosition aRelativePosition; in getAvailablePosAndSizeForDiagram() local 2109 if( xProp.is() && (xProp->getPropertyValue( C2U( "RelativePosition" ) )>>=aRelativePosition) ) in getAvailablePosAndSizeForDiagram() 2114 double fX = aRelativePosition.Primary*rPageSize.Width; in getAvailablePosAndSizeForDiagram() 2115 double fY = aRelativePosition.Secondary*rPageSize.Height; in getAvailablePosAndSizeForDiagram() 2119 , rOutAvailableDiagramSize, aRelativePosition.Anchor ); in getAvailablePosAndSizeForDiagram() 2236 chart2::RelativePosition aRelativePosition; in lcl_createTitle() local 2238 … if( xProp.is() && (xProp->getPropertyValue( C2U( "RelativePosition" ) )>>=aRelativePosition) ) in lcl_createTitle() 2243 double fX = aRelativePosition.Primary*rPageSize.Width; in lcl_createTitle() 2244 double fY = aRelativePosition.Secondary*rPageSize.Height; in lcl_createTitle() 2249 , aTitleUnrotatedSize, aRelativePosition.Anchor, fAnglePi ); in lcl_createTitle()
|
| /trunk/main/sfx2/source/sidebar/ |
| H A D | SidebarToolBox.cxx | 206 … const Point aRelativePosition (static_cast<ToolBoxBackground*>(GetParent())->SetToolBoxChild( in SetPosSizePixel() local 214 aRelativePosition.X(), in SetPosSizePixel() 215 aRelativePosition.Y(), in SetPosSizePixel()
|
| /trunk/main/chart2/source/tools/ |
| H A D | LegendHelper.cxx | 54 chart2::RelativePosition aRelativePosition; in showLegend() local 55 if( !(xProp->getPropertyValue( C2U( "RelativePosition" )) >>= aRelativePosition) ) in showLegend()
|
| /trunk/main/extensions/source/propctrlr/ |
| H A D | formgeometryhandler.cxx | 689 AwtPoint aRelativePosition( m_xAssociatedShape->getPosition() ); in impl_setSheetAnchorType_nothrow() local 692 … sal_Int32 nNewAnchorCol = lcl_getLowerBoundRowOrColumn( xCols.get(), false, aRelativePosition ); in impl_setSheetAnchorType_nothrow() 695 … sal_Int32 nNewAnchorRow = lcl_getLowerBoundRowOrColumn( xRows.get(), true, aRelativePosition ); in impl_setSheetAnchorType_nothrow()
|
| /trunk/main/chart2/source/view/charttypes/ |
| H A D | VSeriesPlotter.cxx | 1117 chart2::RelativePosition aRelativePosition; in createRegressionCurveEquationShapes() local 1118 if( xEquationProperties->getPropertyValue( C2U("RelativePosition")) >>= aRelativePosition ) in createRegressionCurveEquationShapes() 1121 double fX = aRelativePosition.Primary*m_aPageReferenceSize.Width; in createRegressionCurveEquationShapes() 1122 double fY = aRelativePosition.Secondary*m_aPageReferenceSize.Height; in createRegressionCurveEquationShapes() 1155 aScreenPosition2D, aSize, aRelativePosition.Anchor ) ); in createRegressionCurveEquationShapes()
|
| /trunk/main/xmloff/source/chart/ |
| H A D | SchXMLExport.cxx | 3174 chart2::RelativePosition aRelativePosition; in exportRegressionCurve() local 3176 … OUString( RTL_CONSTASCII_USTRINGPARAM("RelativePosition"))) >>= aRelativePosition ) in exportRegressionCurve() 3178 double fX = aRelativePosition.Primary * rPageSize.Width; in exportRegressionCurve() 3179 double fY = aRelativePosition.Secondary * rPageSize.Height; in exportRegressionCurve()
|