You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/08/06 11:00:39 UTC

[Bug 120468] New: parameter of handle-polar have wrong order compared to ODF

https://issues.apache.org/ooo/show_bug.cgi?id=120468

          Priority: P3
            Bug ID: 120468
          Assignee: ooo-issues@incubator.apache.org
           Summary: parameter of handle-polar have wrong order compared to
                    ODF
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: rb.henschel@t-online.de
          Hardware: All
            Status: UNCONFIRMED
           Version: AOO350-dev
         Component: code
           Product: drawing

Created attachment 78856
  --> https://issues.apache.org/ooo/attachment.cgi?id=78856&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120468] parameter of handle-polar have wrong order compared to ODF

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120468

--- Comment #1 from Regina Henschel <rb...@t-online.de> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120468] parameter of handle-polar have wrong order compared to ODF

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120468

rainerbielefeld <ra...@bielefeldundbuss.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |rainerbielefeld_ooo_qa@biel
                   |                            |efeldundbuss.de
            Version|AOO400-dev                  |pre AOO 3.4.0
     Ever confirmed|0                           |1

--- Comment #2 from rainerbielefeld <ra...@bielefeldundbuss.de> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Issue 120468] parameter of handle-polar have wrong order compared to ODF

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120468

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|pre AOO 3.4.0               |OOo 3.3 or older

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.