Apache OpenOffice (AOO) Bugzilla – Issue 120468
parameter of handle-polar have wrong order compared to ODF
Last modified: 2014-03-18 10:01:30 UTC
Created attachment 78856 [details] unpack and read content.xml In ODF1.2 section 19.179 draw:handle-position the order of radius and angle is defined as, "If the draw:handle-polar attribute is set, then a handle is a polar handle and the first parameter of the draw:handle-position attribute specifies the angle (as defined in 18.3.1), the handle radius is specified by the second parameter." But AOO writes it the other way round, first the radius and then the angle.
Calligra writes it the way it is defined in the spec: first angle, second radius. So it is unlikely, that the spec will be changed.
My knowledge is not sufficient to follow Regina's analysis in all details, but at least I can confirm syntax differences in Calligra: <draw:handle draw:handle-position="$0 10800" draw:handle-polar="10800 10800" AOO: <draw:handle draw:handle-polar="10800 10800" draw:handle-position="10800 $0" Due to other observations in the content.xml code I reaon that "10800" seems to be a distance (whatever the unit might be) and "$0","$0" are angles. So "draw:handle-position" has radius as first parameter and angle as second parameter, what is the opposite of the ODF definition Not new, already OOo 2.0 already uses the same syntax. Additional info: ---------------- When I open reporter's sample after having saved it from Calligra in AOO the handles are shown more or less at the center of the circle shape.