Apache OpenOffice (AOO) Bugzilla – Issue 73044
UNO API Polygon does not support open/closed states
Last modified: 2017-05-20 11:27:33 UTC
AW: Other bugs revealed: We have a problem with our UNO API Polygon definition(s). Motivation: We have internal PolyPolygons with curve and open/close abilities (basegfx::B2DPolyPolygon) and we have tooling support for svg:d which also supports PolyPolygon, open/closed state and curves. But we have a set of UNO API PolyPolygons which lack open/closed ability and thus there are round-trips over UNO API (e.g. XLineStartItem::QueryValue() and XLineStartItem::PutValue()) which do not preverve the closed state and thus loose information. I will quick-fix involved bugs for now (e.g. #i72807#), but this involves some shortcomings. AW: For a clean solution i suggest replacing all polygon and PolyPolygon and curve usages in API with svg:d. We will need to thoroughly plan this but at least do it in a mid-time frame to solve the problem.
AW->CL: Found another serious caveat: When using C1 or C2 and saving/loading, the C1/C2 is lost due to API using integer polygons for transport. We need to do something here soon!
retarget
Reset assigne to the default "issues@openoffice.apache.org".