Apache OpenOffice (AOO) Bugzilla – Issue 37500
scale not working on draw:path
Last modified: 2005-03-23 10:20:09 UTC
Hi, I'm using 1.9.62 under linux. It seems that the commando draw:transform="scale (x y)" will not work on draw:path. I added the following lines: <draw:path draw:style-name="gr1" draw:text-style-name="P1" draw:layer="layout" svg:width="5.501cm" svg:height="5.001cm" svg:x="4.847cm" svg:y="11.347cm" svg:viewBox="0 0 5501 5001" svg:d="m2500 0c3000 5000-2500 3500-2500 3500"/> <draw:rect draw:style-name="gr2" draw:text-style-name="P1" draw:layer="layout" svg:width="5.501cm" svg:height="3.501cm" svg:x="8.347cm" svg:y="4.347cm"/> <draw:path draw:style-name="gr1" draw:text-style-name="P1" draw:layer="layout" svg:width="5.501cm" svg:height="5.001cm" svg:x="4.847cm" svg:y="11.347cm" svg:viewBox="0 0 5501 5001" svg:d="m2500 0c3000 5000-2500 3500-2500 3500" draw:transform="scale (2 2) rotate (0.6)"/> <draw:rect draw:style-name="gr2" draw:text-style-name="P1" draw:layer="layout" svg:width="5.501cm" svg:height="3.501cm" svg:x="8.347cm" svg:y="4.347cm" draw:transform="scale (2 2) rotate (0.6)"/> The rectangels a scaled and rotated correctly the bezier curve is only rotated and not scaled. It doesnt matter using sxd or ood format. It would be much easier to import SVG drawings using this feature instead to scale the svg:d via xslt filter. For the filter see: http://www.openoffice.org/issues/show_bug.cgi?id=2497
Created attachment 19518 [details] the result, bezier curve is not scaled
Created attachment 19519 [details] manual changed ood file
Reassigned to Kai. Please have a look.
file format issue
reassigned
Armin, I think this fits best in your expirience. But I would not consider this a OOo 2.0 issue
set to prio4
.
Created attachment 20821 [details] a new test case...
AW: No, it's not scaled, please look at #i37213# which this one is double to. The x,y,width and height of the shape define the shape's size, so there is no way to get the content scaled when the object is not. Plese refer to the double bug. *** This issue has been marked as a duplicate of 37213 ***
AW: Closing due to duplicate