Apache OpenOffice (AOO) Bugzilla – Issue 87554
OO2.2 Writer: Alphabetical Index not in alphabetical order
Last modified: 2017-05-20 11:19:36 UTC
Hi there, I am currently using OpenOffice 2.2 on a PC with Linux/Ubuntu and discovered the following problem with an alphabetical index: After creating an alphabetical index for a (odt- or odm-)document and inserting index entries into the doc the index does not appear in alphabetical order. Also the identical alphabetical delimiters appear several times in different places (still in front of the corresponding entries) across the index. I was not able to solve this problem, but found a way to work around it: I discovered, that in the menu “Insert Index/Table / Options†I had not ticked the box "combine identical entries". This must have caused the entries to get messed up, since the entries affected were words I had marked as both 1st keys and simple entries (of other 1st keys). With the box ticked the index looks intact. Thus, by right-clicking on the index and going to "EDIT INDEX", then unticking or ticking the BOX “COMBINE IDENTICAL ENTRIES" you can literally switch the problem on and off. I first encountered this problem when working with a master document covering a large number of subdocuments, but found it can be reproduced with only one file, which I will attach to this e-mail. Thanks for reading this and taking care of it. Best, Cornelia
Created attachment 52346 [details] OO 2.2 Writer: Alphabetical Index not in alphabetical order
Reassigned to ES.
@OS: as described. Reproduced in DEV300_m3
The reason for not sorting correctly is the fact that most entries have a primary key while some don't have it ("Stammbaum", page 2, "Zuchtergebnisse", page 3) In SwTOXBaseSection::InsertSorted() the search for the insert position is limited to the area with the same primary and secondary key - if available. The comparison is then done based on the entry text.
Target changed to OOo Later as the issue can be fixed in the document.
Reset assigne to the default "issues@openoffice.apache.org".