Apache OpenOffice (AOO) Bugzilla – Issue 121090
Draw delete part of closed polygon on saving
Last modified: 2022-10-28 12:54:34 UTC
I have district border drawing made by Inscape and saved as .odg file. (See attachment testiinscape.odg) When I open it to AOO draw, it is quit normal closed border drawing. But after saving and reloading it is missing at least one part of line. I suppose it is last part of border. (See a attachment testiAOO.odg). Same phenomen happens when I convert some border drawing in Draw. I think this is small but annoying fault.
Created attachment 79627 [details] Correct tile, what users expect.
Created attachment 79628 [details] Fault file or drawing
*** Issue 121089 has been marked as a duplicate of this issue. ***
*** Issue 121091 has been marked as a duplicate of this issue. ***
The object is not closed. You can notice this, when you try to fill it. You can close the object from its context menu. I see the problem with the attached document. It remains after ungrouping the object. I cannot reproduce it with a new document.
ALG: At polygon export time (SdXMLImExSvgDElement::AddPolygon) there is code which reduces the polygon for equal start/end points; this should only be done when the polygon *is* closed. Good catch! Anyways, that code in xexptran.cxx should be replaced with using the basegfx tooling nowadays. Checking...
ALG: Looks good. Committing...
ALG: Okay, done.