Issue 87554 - OO2.2 Writer: Alphabetical Index not in alphabetical order
Summary: OO2.2 Writer: Alphabetical Index not in alphabetical order
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-28 13:19 UTC by cornelia
Modified: 2017-05-20 11:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
OO 2.2 Writer: Alphabetical Index not in alphabetical order (347.53 KB, text/plain)
2008-03-28 13:20 UTC, cornelia
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description cornelia 2008-03-28 13:19:16 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
Comment 1 cornelia 2008-03-28 13:20:59 UTC
Created attachment 52346 [details]
OO 2.2 Writer: Alphabetical Index not in alphabetical order
Comment 2 michael.ruess 2008-03-28 14:26:35 UTC
Reassigned to ES.
Comment 3 eric.savary 2008-03-28 15:49:54 UTC
@OS: as described. Reproduced in DEV300_m3
Comment 4 Oliver Specht 2008-07-07 16:13:48 UTC
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. 
Comment 5 Oliver Specht 2008-11-17 12:46:43 UTC
Target changed to OOo Later as the issue can be fixed in the document.
Comment 6 Marcus 2017-05-20 11:19:36 UTC
Reset assigne to the default "issues@openoffice.apache.org".