Apache OpenOffice (AOO) Bugzilla – Issue 91264
paragraph numbering (list styles) lost upon opening 2.x odt
Last modified: 2013-08-07 14:43:03 UTC
i believe this issue is different from all the reported & already fixed numbering issues. see a non-public testcase, sent to mru - when opened with 2.4.1, all table rows have sequential numbering. when opened with dev300_m21, almost all rows are numbered as "1.". i can't reproduce this with new documents. also, i was unable to reduce the testcase - the problem just disappears...
MRU->OD: as seen, the table cells containing the "Numbering 1" paragraphs are all numbered "1". I could not reproduce this from the scratch - there must be something special in this file where OO3 stumbles across.
The given non-public test document is not created with OOo 2.x. It is created with DEV300m14. A deeper look at the situation in the first table reveals the following: In the cell A2 is a list with list style "Numbering 1". In cell C2 is a bullet list with an automatic list style. In cell A3 is again a list with list style "Numbering 1", which continues the list in cell A2. Such a situation can not be represented in ODF 1.0/1.1, because the list property continue-numbering can only be used to continue the previous list, when the previous list has the same list style. The previous list of the list in cell A3 is the bullet list in cell C2. Thus, a continuation of the list in cell A2 is not possible. Unfortunately, OpenOffice.org version 2.x misinterprets the ODF specification regarding property continue-numbering. In ODF 1.2 such a situation can be represented by new list properties text:id and text:continue-list. The above mentioned misinterpretation of ODF documents has been corrected by cws swlists01, which is integrated into DEV300m20. cws swlists01 also introduced code to handle documents, which have been created by OOo 2.x, and converts the continuation of list to the new list properties. Thus, this issue is invalid, because for the given document the conversion code does not apply - it is not created by OOo 2.x - and the given document is correctly interpreted regarding the ODF specification.
closing