Apache OpenOffice (AOO) Bugzilla – Issue 49294
Importing sxw from 1.1.x to 1.9.100 adds extra "numbering item" at the beginning of a document that uses "index entries"
Last modified: 2017-05-20 11:21:54 UTC
Concerns importing sxw created in 1.1.x to 1.9.100 This is somewhat special document that I created long time ago. I don't remember why exactly, but I've used something called "index entry" in all level 2 headings. It had something to do with having them to show up in table of context, or the numbering. The original doc was imported from another program and I couldn't get the numbering or something to work and this made it work as supposed and I was able to print it etc. Now when this document is opened in 1.1.4 everything is OK. But when opened in 1.9.100 a strange totally unnecessary numbering list item "1." appears at the very beginning of the document, i.e. at the first page, at the beginnign of the very first line. With 1.1.4 it doesn't appear and everything seems to be supposed to. The document in question is available at given URL.
For some reason, the platform is marked as "Palm PDA", although this is naturally PC/Linux issue.
document analysis: heading 2,4,5,6 have no parapraph styles assigned, first line as described by reporter is assigned heading style 3 confirm issue with m103, further investigation needed
MRU->DVO: After opening the OO 1 document in 680m104, there is a list style assigned to the first paragraph, which isn't the case in OO 1.x.
dvo: Some Analysis: That first paragraph is a heading that uses "Heading 3" as paragraph style. The "Heading 3" paragraph style use the numbering "Numbering 1". The outline numbering does not assign any styles to outline level 3. The difference in behaviour between 1.1.x and 2.x is probably due to the fact that we now support outlines with list-styles. This feature allows different 'outline lists', e.g. to number the main text body with roman numerals, and the appendix with letters. The strange thing is that the given document invokes exactly this feature (by having a numbering assigned to the outline level style), even though that behaviour is not supported in 1.1.x. In those versions, the outline numbering would 'win' against any other numbering, meaning that the list numbering was being suppressed. So... What happend in 1.1.x is: The paragraph was an outline paragraph (and outline had no numbering), and it had a list style. In 1.1.x, outline always wins, and hence no number was displayed. In 2.x, the paragraph was an outline paragraph and had a numbering assigned. Hence, the numbering was used, and a number was displayed. I suspect the best way for the user in this case is to simply remove the numbering from 'Heading 3' style, and hence all should be as expected. If we want to fix this, I guess the only way is to include another compatibility flag, which makes the 2.x version prefer outline over list numbering for old documents as well. I don't think this has anything to do with the 'index entries' or such. dvo->hb: Please have a look on how to fix this. If you need load/save support for the compatibilty flag, please re-assign.
.
Considering the effort, the priority, the risk and our resource planning I've to retarget this issue to OOo Later.
I'm pretty sure this is still alive and well in the released 2.0. In fact, it may be more serious than it appears frm the initial report: one of the superfluous numbers in one of my documents survived every attempt to eradicate it; after a cycle of open-edit-save-close-reopen the number would re-appear.
The linked document looks good in 2.0.1 AFAICT.
Reset assigne to the default "issues@openoffice.apache.org".