To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=37213





------- Additional comments from [EMAIL PROTECTED] Mon Feb 28 13:34:02 -0800 
2005 -------
AW: Moving the code to SvxShapePolyPolygon::getPropertyValue is not valid. That
code is for API command to set the object transformation matrix, so there is no
way to save the current object's translation there (!). This needs to be removed
instantly.

AW: I think the core sentence is >a user coordinate system inside the physical
coordinate system of the shape specified by the position and size attributes<.
On the other hand a polygon object cannot be smaller or bigger tha it's
contained polygon. Also, the TRSet/GetBaseGeometry methods assume the transfered
polygon to be relative to the object, unrotated and unsheared.
AW: So, to set the object's transformation matrix, the correct steps are to call
TRGetBaseGeometry to get the current polygon, and then call TRSetBaseGeometry
with the new transformation and the saved geometry (the polygon).
AW: All the current definitions taken together, the svg:viewBox does not have
much sense at all. It is not intended to work like in SVG (this is not SVG). It
would be enough to read in the polygon, scale it to the object's size and make
it relative (move it to (0,0)). That's what is implied with 'embedded' user
coordinate system and the fact that object pos/size and polygon pos/size need to
be identical internally. Everey other use would no longer be an 'embedded' user
coordinate system, but change the position and size of the object, so overriding
:x, :y, :width and :height settings -> no embedding, not allowed.

AW: Maybe this should be changed, but then the definitions need to be changed,
too. At the moment the error is that the initial polygon which is set at the
object is not relative to the object (not (0,0) aligned). So this needs to be
changed.
AW: Luckily this may be changed in later versions since all written files
contain a svg:viewBox which completely describes the polygon dimensions. But i
see no chance to change the OASIS specification for SO8.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to