Apache OpenOffice (AOO) Bugzilla – Issue 121972
AOO cannot read primitive ellipse with radius and center
Last modified: 2022-10-28 12:54:24 UTC
Created attachment 80474 [details] ellipse with radius and center ODF allows to define a draw:ellipse element with radius and center, for examples as <draw:ellipse draw:name="rx_ry_cx_cy" draw:style-name="gr1" draw:text-style-name="P1" draw:layer="layout" svg:rx="3cm" svg:ry="2cm" svg:cx="7cm" svg:cy="5cm" draw:kind="arc" draw:start-angle="30" draw:end-angle="315"> <text:p /> </draw:ellipse> When AOO gets such a file it does not open it correct, but the shape has zero size and is at position 0|0. The shape is there, you can select it with the navigator. Request: Because this is a common way to define an ellipse in SVG, AOO should be able to open it correctly. The attached file contains such an ellipse. The ellipse should be in the middle of the square. The colored lines indicate 30°, 45°, 315° and 330° to look whether start- and end-angle are read correctly.
ALG: Grepping, looks like one for me...
"alg" committed SVN revision 1466400 into trunk: i121972 Use svg rx/ry/cx/cy defines in draw:ellipse when used
ALG: Okay, luckily most was already interpreted, so I just needed to add code to make use of it. Comitted as r1466400, done.