DeltaXML ODT Compare list numbering
| Poster | Content | |
|---|---|---|
nk4um Administrator Posts: 35 |
The default behaviour of ODT Compare with lists is to convert each list item into a paragraph with the list number inserted as text at the beginning of the paragraph. We calculate the list number to add using the numbering algorithms defined in the ODF 1.1 specification. The reason we do this conversion is to allow changes to list item numbers to be highlighted in the result. There are currently two issues with our calculation of list numbers: 1) ODF 1.2 is now in use as the default output format for documents written with OpenOffice.org 3.0 and greater. This version of ODF made some changes to list numbering, particularly concerning continuation of numbering between lists. At present, we don''t support ODF 1.2 and so any list numbering that uses the new format will potentially be converted incorrectly by ODT Compare. We are planning on adding support for ODF 1.2 when it becomes an OASIS standard. 2) Older versions of OpenOffice.org (around 2.3) had a bug relating to the way they output lists and the numbers that were assigned to the list items in the application. The ODT file contains the build number of OpenOffice that created it and so we are able to use an alternative numbering algorithm on those documents to allow for the bug. At present, we do not apply this alternative algorithm to all of the relevant builds but we are currently finding out from the OpenOffice developers the full list of OpenOffice builds that contained this bug. In the meantime, you could turn off list item conversion using ''convertLists=false'' on the command line or passing a value of ''false'' to the ''setConvertListsToParagraphs(boolean)'' method. This would stop ODT Compare from calculating list numbers but would of course mean that list number changes are not highlighted. Hopefully that answers your question. Please do not hesitate to get back to us if you have any further queries. |
