Apache OpenOffice (AOO) Bugzilla – Issue 52127
OpenDocument <text:numbered-paragraph> element not supported on OpenDocument import
Last modified: 2013-08-07 14:43:11 UTC
The <numbered-paragraph> element specified by the OpenDocument specification is not implemented in to OpenDocument import filter.
Created attachment 29961 [details] testcase
Created attachment 29963 [details] Another testcase
I cannot stress enough how important it is that OpenOffice implements support for text:numbered-paragraph soon (before 2.0!), the whole point of the OpenDocument standard falls apart if KOffice and OpenOffice can't even exchange simple documents with numbered lists or bullets. I have attached two test documents, in the first one you should see 3 lines reading like 1 Firstname name Parent1 & parent2 Address # Zip Place Tel# 11-22-2000 between the first and the last paragraph. The second test document is self-explanatory.
flr: Set to next available milestone. Sorry -- I've overseen the bug.
flr: since we must have a clarifying discussion in the OpenDocument TC regarding the semantic of <numbered-paragraph> I just implemented it in a way, such that <numbered-paragraph> are imported without the number. As soon as the TC clarified the correct semantic, a full implementation will take place.
flr->es: Could you please make a regression test and --- additionally --- test the attached KWord documents. On import the <numbered-paragraph>s should appear without a number. After test, could you please reopen the issue and assign it to me with a PP2 target, such that I can implement the correct numbering for PP2 as soon as the OpenDocument TC has clarified the correct semantic.
flr->es: As requested above. Thanks. re-open issue and reassign to es@openoffice.org
reassign to es@openoffice.org
reset resolution to FIXED
Verified in CWS knumber
flr: Modified files in CWS knumber: Checking in core/xmltoken.cxx; /cvs/xml/xmloff/source/core/xmltoken.cxx,v <-- xmltoken.cxx new revision: 1.95.44.1; previous revision: 1.95 done Checking in text/txtimp.cxx; /cvs/xml/xmloff/source/text/txtimp.cxx,v <-- txtimp.cxx new revision: 1.117.40.1; previous revision: 1.117 done Checking in text/txtparai.cxx; /cvs/xml/xmloff/source/text/txtparai.cxx,v <-- txtparai.cxx new revision: 1.52.42.1; previous revision: 1.52 done Checking in text/txtparai.hxx; /cvs/xml/xmloff/source/text/txtparai.hxx,v <-- txtparai.hxx new revision: 1.6.42.1; previous revision: 1.6 done Checking in txtimp.hxx; /cvs/xml/xmloff/inc/txtimp.hxx,v <-- txtimp.hxx new revision: 1.88.44.1; previous revision: 1.88 done Checking in xmltoken.hxx; /cvs/xml/xmloff/inc/xmltoken.hxx,v <-- xmltoken.hxx new revision: 1.90.44.1; previous revision: 1.90 done
Ok in src680m140
I just updated openoffice from gentoo to 2.0.1 (binary version, so the official release). Either a sample document created with KWord or the testcases here attached does not load correctly. Was this postponed to another version, or there was a regression before release?
Waiting for full implementation
Targetting next release
adjusting target
changing component to "Word Processor" as this is the place where the work will happen
Andreas, please verify if the issue is fixed or if we still have a problem
Status: in former OOo versions we lost the _content_ of numbered paragraphs created by KOffice. This problem has been fixed. Open is the problem of numbering, we still do not import the numbering of <text:numbered-paragraph> tags. The clarifying discussion in the TC results into proposals for ODF 1.2. When such a proposal will be accepted we will be able to fix this issues completely.
move to 3.x accroding http://wiki.services.openoffice.org/wiki/Target_3x
@ama: please assign to mst
Reassigned.
Created attachment 55444 [details] another numbered-paragraph testcase (ODF1.0, KOffice 1.5)
fixed in CWS swlists02: CWS swlists02 adds support for importing lists in numbered-paragraph representation. Export is not necessary: we always export text:list/text:list-item. KOffice 2.0 alpha 8 does not export lists correctly (just plain paragraphs) KOffice 1.5 seems to work (see attached testcase)
assign to QA
Verified in CWS swlists02.
verified in master version - 3.1- works fine!
verified in master version 3.1.
Verified in master so closing - Sophie