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] Wed Feb 16 19:06:46 -0800 
2005 -------
In svx/source/svdraw/svdopath.cxx, aRect is calculated from rPolyPolygon at
runtime. And the points in rPolyPolygon are the absolute coordinates. So when
you draw a polygon,you get a point lists, such as this:
  1000,1000 2000,3000 3000,2000 then your aRect={1cm,1cm,3cm,3cm}. We cann't
save them out directly, because when save to files the points should be in
opposite coordinates defined by viewbox. So we need a
rPolyPolygon.Move(-aRectangle.Left(), -aRectangle.Top()). But currently we call
rPolyPolygon.Move in SdrPathObj::TRGetBaseGeometry which will be called at both
import and export time. The result is when you import a shape with this points
(1000,1000 2000,3000 3000,2000), you will get a (0,0 1000,2000 2000,1000), its
moved to the topleft.
In this patch I move the justify code to SvxShapePolyPolygon::getPropertyValue
which will be called only at export time. Thus we can keep the points as them
should be at import time.


---------------------------------------------------------------------
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