Home
last modified time | relevance | path

Searched refs:aRelativeSize (Results 1 – 5 of 5) sorted by relevance

/aoo41x/main/chart2/source/controller/main/
H A DPositionAndSizeHelper.cxx86 chart2::RelativeSize aRelativeSize; in moveObject() local
98 aRelativeSize.Primary = in moveObject()
101 if (aRelativeSize.Primary > 1.0) in moveObject()
102 aRelativeSize.Primary = 1.0; in moveObject()
103 aRelativeSize.Secondary = in moveObject()
106 if (aRelativeSize.Secondary > 1.0) in moveObject()
107 aRelativeSize.Secondary = 1.0; in moveObject()
125 RelativeSize aRelativeSize; in moveObject() local
128 aRelativeSize.Primary = double(aObjectRect.getWidth())/double(aPageRect.getWidth()); in moveObject()
129 aRelativeSize.Secondary = double(aObjectRect.getHeight())/double(aPageRect.getHeight()); in moveObject()
[all …]
/aoo41x/main/drawinglayer/source/primitive2d/
H A Dwallpaperprimitive2d.cxx176 const basegfx::B2DVector aRelativeSize( in create2DDecomposition() local
183 aRelativeTopLeft.setX(0.5 - aRelativeSize.getX()); in create2DDecomposition()
184 aRelativeTopLeft.setY(0.5 - aRelativeSize.getY()); in create2DDecomposition()
190 basegfx::B2DRange(aRelativeTopLeft, aRelativeTopLeft+ aRelativeSize), in create2DDecomposition()
/aoo41x/main/chart2/source/controller/chartapiwrapper/
H A DDiagramWrapper.cxx782 chart2::RelativeSize aRelativeSize; in setSize() local
783 aRelativeSize.Primary = double(aSize.Width)/double(aPageSize.Width); in setSize()
784 aRelativeSize.Secondary = double(aSize.Height)/double(aPageSize.Height); in setSize()
786 if( aRelativeSize.Primary > 1 || aRelativeSize.Secondary > 1 ) in setSize()
794 xProp->setPropertyValue( C2U( "RelativeSize" ), uno::makeAny(aRelativeSize) ); in setSize()
823 Any aRelativeSize( xDiaProps->getPropertyValue( C2U( "RelativeSize" ) ) ); in isAutomaticDiagramPositioning() local
825 if( aRelativeSize.hasValue() && aRelativePosition.hasValue() ) in isAutomaticDiagramPositioning()
843 Any aRelativeSize( xDiaProps->getPropertyValue( C2U( "RelativeSize" ) ) ); in isExcludingDiagramPositioning() local
845 if( aRelativeSize.hasValue() && aRelativePosition.hasValue() ) in isExcludingDiagramPositioning()
1990 if( aRelativeSize.hasValue() ) in setPropertyValue()
[all …]
/aoo41x/main/chart2/source/view/main/
H A DVLegend.cxx914 RelativeSize aRelativeSize; in createShapes() local
915 if ((xLegendProp->getPropertyValue( C2U( "RelativeSize" )) >>= aRelativeSize)) in createShapes()
917 …aLegendSize.Width = static_cast<sal_Int32>( ::rtl::math::approxCeil( aRelativeSize.Primary * rPage… in createShapes()
918 …aLegendSize.Height = static_cast<sal_Int32>( ::rtl::math::approxCeil( aRelativeSize.Secondary * rP… in createShapes()
H A DChartView.cxx2102 ::com::sun::star::chart2::RelativeSize aRelativeSize; in getAvailablePosAndSizeForDiagram()
2103 if( xProp.is() && (xProp->getPropertyValue( C2U( "RelativeSize" ) )>>=aRelativeSize) ) in getAvailablePosAndSizeForDiagram()
2105 …rOutAvailableDiagramSize.Height = static_cast<sal_Int32>(aRelativeSize.Secondary*rPageSize.Height); in getAvailablePosAndSizeForDiagram()
2106 … rOutAvailableDiagramSize.Width = static_cast<sal_Int32>(aRelativeSize.Primary*rPageSize.Width); in getAvailablePosAndSizeForDiagram()

Completed in 85 milliseconds