/trunk/main/svgio/source/svgreader/ |
H A D | svgimagenode.cxx | 219 basegfx::B2DRange aViewBox(aTarget); in decomposeSvgNode() local 237 extractFromGraphic(aGraphic, aNewTarget, aViewBox, aBitmapEx); in decomposeSvgNode() 259 extractFromGraphic(aGraphic, aNewTarget, aViewBox, aBitmapEx); in decomposeSvgNode() 281 … aViewBox = drawinglayer::primitive2d::getB2DRangeFromPrimitive2DSequence( in decomposeSvgNode() 297 aViewBox = basegfx::B2DRange(0.0, 0.0, 1.0, 1.0); in decomposeSvgNode() 302 if(aTarget.equal(aViewBox)) in decomposeSvgNode() 315 … const basegfx::B2DHomMatrix aEmbeddingTransform(rRatio.createMapping(aTarget, aViewBox)); in decomposeSvgNode() 342 … const basegfx::B2DHomMatrix aEmbeddingTransform(rRatio.createLinearMapping(aTarget, aViewBox)); in decomposeSvgNode()
|
/trunk/main/xmloff/source/draw/ |
H A D | ximpshap.cxx | 1401 basegfx::B2DVector aSize(aViewBox.GetWidth(), aViewBox.GetHeight()); in StartElement() 1417 aViewBox.GetX(), aViewBox.GetY(), in StartElement() 1418 … aViewBox.GetX() + aViewBox.GetWidth(), aViewBox.GetY() + aViewBox.GetHeight()); in StartElement() 1420 aViewBox.GetX(), aViewBox.GetY(), in StartElement() 1421 aViewBox.GetX() + aSize.getX(), aViewBox.GetY() + aSize.getY()); in StartElement() 1501 const SdXMLImExViewBox aViewBox(maViewBox, GetImport().GetMM100UnitConverter()); in StartElement() local 1502 basegfx::B2DVector aSize(aViewBox.GetWidth(), aViewBox.GetHeight()); in StartElement() 1518 aViewBox.GetX(), aViewBox.GetY(), in StartElement() 1519 aViewBox.GetX() + aViewBox.GetWidth(), aViewBox.GetY() + aViewBox.GetHeight()); in StartElement() 1521 aViewBox.GetX(), aViewBox.GetY(), in StartElement() [all …]
|
H A D | ximpcustomshape.cxx | 857 SdXMLImExViewBox aViewBox( rValue, GetImport().GetMM100UnitConverter() ); in StartElement() local 859 basegfx::fround(aViewBox.GetX()), in StartElement() 860 basegfx::fround(aViewBox.GetY()), in StartElement() 861 basegfx::fround(aViewBox.GetWidth()), in StartElement() 862 basegfx::fround(aViewBox.GetHeight())); in StartElement()
|
H A D | XMLImageMapExport.cxx | 348 SdXMLImExViewBox aViewBox(0.0, 0.0, aPolygonRange.getWidth(), aPolygonRange.getHeight()); in ExportPolygon() local 349 mrExport.AddAttribute(XML_NAMESPACE_SVG, XML_VIEWBOX, aViewBox.GetExportString()); in ExportPolygon()
|
H A D | shapeexport3.cxx | 226 SdXMLImExViewBox aViewBox( in ImpExport3DShape() local 232 mrExport.AddAttribute(XML_NAMESPACE_SVG, XML_VIEWBOX, aViewBox.GetExportString()); in ImpExport3DShape()
|
H A D | shapeexport4.cxx | 511 SdXMLImExViewBox aViewBox( aRect.X, aRect.Y, aRect.Width, aRect.Height ); in ImpExportEnhancedGeometry() local 512 rExport.AddAttribute( XML_NAMESPACE_SVG, XML_VIEWBOX, aViewBox.GetExportString() ); in ImpExportEnhancedGeometry()
|
H A D | XMLImageMapContext.cxx | 506 SdXMLImExViewBox aViewBox(sViewBoxString, GetImport().GetMM100UnitConverter()); in Prepare() local
|
H A D | shapeexport2.cxx | 1009 SdXMLImExViewBox aViewBox(0, 0, aSize.Width, aSize.Height); local 1010 mrExport.AddAttribute(XML_NAMESPACE_SVG, XML_VIEWBOX, aViewBox.GetExportString());
|
/trunk/main/oox/source/drawingml/ |
H A D | customshapeproperties.cxx | 244 awt::Rectangle aViewBox( 0, 0, aSize.Width * 360, aSize.Height * 360 ); in pushToPropSet() local 249 aViewBox.Width = static_cast< sal_Int32 >( maPath2DList[ 0 ].w ); in pushToPropSet() 251 aViewBox.Height = static_cast< sal_Int32 >( maPath2DList[ 0 ].h ); in pushToPropSet() 253 aPropertyMap[ PROP_ViewBox ] <<= aViewBox; in pushToPropSet()
|
/trunk/main/svx/source/customshapes/ |
H A D | EnhancedCustomShape2d.cxx | 603 com::sun::star::awt::Rectangle aViewBox; in ApplyShapeAttributes() local 604 if ( pViewBox && (*pViewBox >>= aViewBox ) ) in ApplyShapeAttributes() 606 nCoordLeft = aViewBox.X; in ApplyShapeAttributes() 607 nCoordTop = aViewBox.Y; in ApplyShapeAttributes() 608 nCoordWidth = labs( aViewBox.Width ); in ApplyShapeAttributes() 609 nCoordHeight= labs( aViewBox.Height); in ApplyShapeAttributes() 1601 com::sun::star::awt::Rectangle aViewBox; in CreateSubPath() local 1602 if ( pViewBox && (*pViewBox >>= aViewBox ) ) in CreateSubPath() 1604 aViewBox.Width = pDefCustomShape->nCoordWidth; in CreateSubPath() 1605 aViewBox.Height = pDefCustomShape->nCoordHeight; in CreateSubPath() [all …]
|
/trunk/main/xmloff/source/text/ |
H A D | XMLTextFrameContext.cxx | 304 const SdXMLImExViewBox aViewBox( sViewBox, GetImport().GetMM100UnitConverter()); in XMLTextFrameContourContext_Impl() local 325 aViewBox.GetX(), aViewBox.GetY(), in XMLTextFrameContourContext_Impl() 326 aViewBox.GetX() + aViewBox.GetWidth(), aViewBox.GetY() + aViewBox.GetHeight()); in XMLTextFrameContourContext_Impl()
|
H A D | txtparae.cxx | 2941 … SdXMLImExViewBox aViewBox(0.0, 0.0, aPolyPolygonRange.getWidth(), aPolyPolygonRange.getHeight()); in exportContour() local 2942 GetExport().AddAttribute(XML_NAMESPACE_SVG, XML_VIEWBOX, aViewBox.GetExportString()); in exportContour()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdoashp.cxx | 732 com::sun::star::awt::Rectangle aViewBox; in MergeDefaultAttributes() local 733 if ( !pViewBox || !(*pViewBox >>= aViewBox ) ) in MergeDefaultAttributes() 737 aViewBox.X = 0; in MergeDefaultAttributes() 738 aViewBox.Y = 0; in MergeDefaultAttributes() 739 aViewBox.Width = pDefCustomShape->nCoordWidth; in MergeDefaultAttributes() 740 aViewBox.Height= pDefCustomShape->nCoordHeight; in MergeDefaultAttributes() 742 aPropVal.Value <<= aViewBox; in MergeDefaultAttributes() 1173 com::sun::star::awt::Rectangle aViewBox; in IsDefaultGeometry() local 1174 if ( pViewBox && ( *pViewBox >>= aViewBox ) ) in IsDefaultGeometry() 1176 if ( ( aViewBox.Width == pDefCustomShape->nCoordWidth ) in IsDefaultGeometry() [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | MarkerStyle.cxx | 203 SdXMLImExViewBox aViewBox( in exportXML() local 208 rExport.AddAttribute( XML_NAMESPACE_SVG, XML_VIEWBOX, aViewBox.GetExportString() ); in exportXML()
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlideSorterView.cxx | 493 const Rectangle aViewBox (mpLayouter->GetTotalBoundingBox()); in Layout() local 494 pWindow->SetViewOrigin (aViewBox.TopLeft()); in Layout() 495 pWindow->SetViewSize (aViewBox.GetSize()); in Layout()
|
/trunk/main/filter/source/msfilter/ |
H A D | escherex.cxx | 2743 awt::Rectangle aViewBox; in CreateCustomShapeProperties() local 2744 if ( rProp.Value >>= aViewBox ) in CreateCustomShapeProperties() 2746 AddOpt( DFF_Prop_geoLeft, aViewBox.X ); in CreateCustomShapeProperties() 2747 AddOpt( DFF_Prop_geoTop, aViewBox.Y ); in CreateCustomShapeProperties() 2748 AddOpt( DFF_Prop_geoRight, aViewBox.X + aViewBox.Width ); in CreateCustomShapeProperties() 2749 AddOpt( DFF_Prop_geoBottom,aViewBox.Y + aViewBox.Height ); in CreateCustomShapeProperties()
|
H A D | msdffimp.cxx | 1636 com::sun::star::awt::Rectangle aViewBox; in ApplyCustomShapeGeometryAttributes() local 1638 aViewBox.X = GetPropertyValue( DFF_Prop_geoLeft, 0 ); in ApplyCustomShapeGeometryAttributes() 1639 aViewBox.Y = GetPropertyValue( DFF_Prop_geoTop, 0 ); in ApplyCustomShapeGeometryAttributes() 1640 …aViewBox.Width = nCoordWidth = ((sal_Int32)GetPropertyValue( DFF_Prop_geoRight, 21600 ) ) - aViewB… in ApplyCustomShapeGeometryAttributes() 1641 …aViewBox.Height = nCoordHeight = ((sal_Int32)GetPropertyValue( DFF_Prop_geoBottom, 21600 ) ) - aVi… in ApplyCustomShapeGeometryAttributes() 1643 aProp.Value <<= aViewBox; in ApplyCustomShapeGeometryAttributes()
|