/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() 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() 85 chart2::RelativePosition aRelativePosition; in moveObject() local 89 aRelativePosition.Primary = in moveObject() 92 aRelativePosition.Secondary = in moveObject() 116 chart2::RelativePosition aRelativePosition; in moveObject() local 117 aRelativePosition.Anchor = drawing::Alignment_CENTER; in moveObject() [all …]
|
/trunk/main/chart2/source/controller/chartapiwrapper/ |
H A D | LegendWrapper.cxx | 153 Any aRelativePosition( xInnerPropertySet->getPropertyValue( C2U( "RelativePosition" ) ) ); in setPropertyValue() local 154 if(aRelativePosition.hasValue()) in setPropertyValue() 320 chart2::RelativePosition aRelativePosition; in setPosition() local 321 aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT; in setPosition() 322 aRelativePosition.Primary = double(aPosition.X)/double(aPageSize.Width); in setPosition() 323 aRelativePosition.Secondary = double(aPosition.Y)/double(aPageSize.Height); in setPosition() 324 xProp->setPropertyValue( C2U( "RelativePosition" ), uno::makeAny(aRelativePosition) ); in setPosition()
|
H A D | WrappedAutomaticPositionProperties.cxx | 80 … Any aRelativePosition( xInnerPropertySet->getPropertyValue( C2U( "RelativePosition" ) ) ); in setPropertyValue() local 81 if( aRelativePosition.hasValue() ) in setPropertyValue() 98 Any aRelativePosition( xInnerPropertySet->getPropertyValue( C2U( "RelativePosition" ) ) ); in getPropertyValue() local 99 if( !aRelativePosition.hasValue() ) in getPropertyValue()
|
H A D | DiagramWrapper.cxx | 749 chart2::RelativePosition aRelativePosition; in setPosition() local 750 aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT; in setPosition() 751 aRelativePosition.Primary = double(aPosition.X)/double(aPageSize.Width); in setPosition() 752 aRelativePosition.Secondary = double(aPosition.Y)/double(aPageSize.Height); in setPosition() 753 …if( aRelativePosition.Primary < 0 || aRelativePosition.Secondary < 0 || aRelativePosition.Primary … in setPosition() 760 xProp->setPropertyValue( C2U( "RelativePosition" ), uno::makeAny(aRelativePosition) ); in setPosition() 824 Any aRelativePosition( xDiaProps->getPropertyValue( C2U( "RelativePosition" ) ) ); in isAutomaticDiagramPositioning() local 825 if( aRelativeSize.hasValue() && aRelativePosition.hasValue() ) in isAutomaticDiagramPositioning() 844 Any aRelativePosition( xDiaProps->getPropertyValue( C2U( "RelativePosition" ) ) ); in isExcludingDiagramPositioning() local 845 if( aRelativeSize.hasValue() && aRelativePosition.hasValue() ) in isExcludingDiagramPositioning()
|
H A D | TitleWrapper.cxx | 252 chart2::RelativePosition aRelativePosition; in setPosition() local 253 aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT; in setPosition() 254 aRelativePosition.Primary = double(aPosition.X)/double(aPageSize.Width); in setPosition() 255 aRelativePosition.Secondary = double(aPosition.Y)/double(aPageSize.Height); in setPosition() 256 … 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 | 2113 chart2::RelativePosition aRelativePosition; in getAvailablePosAndSizeForDiagram() local 2114 if( xProp.is() && (xProp->getPropertyValue( C2U( "RelativePosition" ) )>>=aRelativePosition) ) in getAvailablePosAndSizeForDiagram() 2119 double fX = aRelativePosition.Primary*rPageSize.Width; in getAvailablePosAndSizeForDiagram() 2120 double fY = aRelativePosition.Secondary*rPageSize.Height; in getAvailablePosAndSizeForDiagram() 2124 , rOutAvailableDiagramSize, aRelativePosition.Anchor ); in getAvailablePosAndSizeForDiagram() 2241 chart2::RelativePosition aRelativePosition; in lcl_createTitle() local 2243 … if( xProp.is() && (xProp->getPropertyValue( C2U( "RelativePosition" ) )>>=aRelativePosition) ) in lcl_createTitle() 2248 double fX = aRelativePosition.Primary*rPageSize.Width; in lcl_createTitle() 2249 double fY = aRelativePosition.Secondary*rPageSize.Height; in lcl_createTitle() 2254 , 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 | 690 AwtPoint aRelativePosition( m_xAssociatedShape->getPosition() ); in impl_setSheetAnchorType_nothrow() local 693 … sal_Int32 nNewAnchorCol = lcl_getLowerBoundRowOrColumn( xCols.get(), false, aRelativePosition ); in impl_setSheetAnchorType_nothrow() 696 … 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 | 3173 chart2::RelativePosition aRelativePosition; in exportRegressionCurve() local 3175 … OUString( RTL_CONSTASCII_USTRINGPARAM("RelativePosition"))) >>= aRelativePosition ) in exportRegressionCurve() 3177 double fX = aRelativePosition.Primary * rPageSize.Width; in exportRegressionCurve() 3178 double fY = aRelativePosition.Secondary * rPageSize.Height; in exportRegressionCurve()
|