Apache OpenOffice (AOO) Bugzilla – Issue 100727
[sw-html] user-defined document info fields messed up
Last modified: 2013-08-07 14:44:00 UTC
it seems i made a mistake when converting the writer html import filter to DocumentProperties. if a HTML file created with writer in OOo 2.x contains user-defined document info fields, then on import in OOo 3.x those fields may be mapped to the wrong user-defined document info. this happens because in the HTML format, there are specific subtypes INFO[1-4] corresponding to the 4 user-defined properties that are visible in the dialog. the import filter uses the DocumentInfo service to access the 4 properties, but the service is instantiated too late: after the properties have already been sorted alphabetically. solution is to handle the field import differently: the import filter itself remembers which are the 4 properties (META-elements) corresponding to the fields.
Created attachment 61336 [details] test document
fixed in cws fwk103 (revision 270317) attached test document displays correctly in OOo 2.4, not correctly (fields messed up) in OOo 3.0.
please verify
checked and verified in cws fwk103 -> OK !
closed