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





------- Additional comments from a...@openoffice.org Tue Sep 29 15:26:50 +0000 
2009 -------
AW: Indeed, a problem with MetaFiles. The MetaPolyPolygonAction::Write has quite
some extra handling to export curve information (flag infos); this must have
been added when it was/got available long time ago. Unfortunately, it was not
added everywhere needed:

MetaTransparentAction::Write does NOT have this mechanisms, it only streams the
tools::Polygon which does NOT save/load the control points. It does not even
test for Curve/ControlPoints and AdaptiveSubdivide; it just ignores curves, so
the control points become polygon points.

To resolve (and to stay compatible with our MetaFile format) there are two
possibilities:

(1) Add the same expansions to MetaTransparentAction::Write as to
MetaPolyPolygonAction::Write; this involves handling WRITE_BASE_COMPAT macros
and to add a new version number to the section. This means that already existing
offices (3.1, 3.1.1) will not be fixed since they cannot read the new section.

(2) Apply AdaptiveSubdivide to the polygon when it's a curve before writing.
This will stay compatible, but the geometric quality will be reduced from curve
to polygon.

Since this only applies to transparent, curved shapes i propose (2) as solution;
it's more safe and metafiles will be correct for older office versions.

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