To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108742
                 Issue #|108742
                 Summary|ODF1.2 and OOo differ for value matrix() in transform 
                        |attribute
               Component|Drawing
                 Version|DEV300m70
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|cl
             Reported by|regina





------- Additional comments from reg...@openoffice.org Thu Jan 28 15:19:23 
+0000 2010 -------
ODF1.2 and OOo differ for value matrix() in draw:transform attribute and
dr3d:transform attribute respectively.

You find the following description in ODF1.2, chapter 19.230 in version
"Committee Draft 04".
"matrix(<a> <b> <c> <d> <e> <f>), specifies a transformation in the form of a
transformation matrix of six values. The values describe a standard 3x2
homogeneous transformation matrix where the right column (<c>, <f>) describes
the translation."

With this description the matrix would be in usual mathematical form
a b c
d e f
0 0 1

But OOo interprets the matrix as
a c e
b d f
0 0 1
which gives a different transformation.

The same is true for 3D. In ODF1.2, chapter 19.109 dr3d:transform it is
"matrix(<a> <b> <c> <d> <e> <f> <g> <h> <i> <j> <k> <l>): specifies a
transformation in the form of a transformation matrix of twelve values. The
values describe a standard 4x3 homogeneous transformation matrix, where the
right column (<d>, <h>, <l>) defines the transformation."
(The last word should be 'translation'.)
This description results in
a b c d
e f g h
i j k l
0 0 0 1

But OOo uses
a d g j
b e h k
c f i l
0 0 0 1

OOo code is in xmloff/source/draw/xexptran.cxx
around lines 471, 621, 951, 1134

The specifications "where the right column (<c>, <f>) describes the translation"
and "where the right column (<d>, <h>, <l>) defines the transformation" are
missing in ODF1.1 standard.

So either OOo or the ODF specification has to be changed.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to