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] Tue Mar 1 18:55:08 -0800 2005 ------- Solution 1: >(a) change :x, :y, :width, :height >(b) align polygon to (0,0) and object size There is another solution 2: (a) keep the :x, :y, :width, :height (b) render the polygons as user wanted And as I know, we are talking about some thing else another then the problem we meet here. The problem is: When importing, we convert the points from user coordinate system to physical coordinate system. If the polygon is not (0,0) aligned, then we: 1. align it to (0,0) 2. Using a Translate to compensate the change. You can find the code in SdrPathObj::TRGetBaseGeometry in svx/source/svdraw/svdopath.cxx. But unfortunately the step (1) effects the polygon's points list immediately, but the translate gets lost at svx/source/unodraw/unoshape.cxx#L1646 The code is: pObj->TRGetBaseGeometry(aMatrix3D, aEmptyPolygon); aMatrix3D[0] = Point3D( aMatrix.Line1.Column1.... ); aMatrix3D[1] = Point3D( aMatrix.Line2.Column1.... ); aMatrix3D[2] = Point3D( aMatrix.Line3.Column1.... ); pObj->TRSetBaseGeometry(aMatrix3D, aEmptyPolygon); --------------------------------------------------------------------- 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]
