Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Columns in Alphabetic Index always go from left to right|
|Component:||code||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Issue Type:||ENHANCEMENT||Latest Confirmation in:||---|
Description nyh 2006-09-21 12:09:55 UTC
The "Alphabetic Index" feature works almost perfectly in right-to-left languages (such as Hebrew or Arabic): entries are correctly formatted, the page numbers appear in the correct order and place, and so on. Only one thing isn't correct: the column order. When in the index's configuration form you specify that you want several columns (this is what is almost always done), these columns always appear from left to right: the first bunch of entries in alphabetical order appear on the leftmost column, then come the second-to-left column, and so on, until the last items alphabetically come on the rightmost column. This isn't the appropriate thing to do in a right-to-left language: There, you'd want the first entries to appear on the rightmost column, not the leftmost. I think the insert-index form should give you an option to choose "column order" (left-to-right or right-to-left). Alternatively, since you already ask in the form for the entries' language (to which I answer "Hebrew"), you could use the default direction for that language.
Comment 1 michael.ruess 2006-09-21 12:20:23 UTC
Reassigned to ES.
Comment 2 eric.savary 2006-09-21 13:18:57 UTC
Reassigned to Requirements
Comment 3 nyh 2006-10-24 21:23:37 UTC
By sheer chance I found how to properly format the index. I'm not sure whether this means that this is not actually a bug, or whether the workaround is so obscure and unintuitive that it needs to be fixed anyway. To get the index columns properly ordered from right to left, what I need to do is go to Format -> Page and choose Text Direction -> Right To Left! It appears that this setting does absolutely nothing except exactly what I need - switch the column order in the index (and I guess, in other places as well). After you make this change, you need to Update the index and everything then looks fine.
Comment 4 frank.meies 2006-10-25 08:48:28 UTC
fme->nyh: The page direction sets the order of columns (page columns, section columns, table columns) and it sets the default direction of your paragraphs (if they have no hard direction attribute). So no bug here. Your index basically is a section, therefore setting the page direction to RTL fixes your problem. Works as designed => I'll close this issue.
Comment 5 frank.meies 2006-10-25 08:48:55 UTC
Comment 6 frank.meies 2006-10-25 09:03:32 UTC
FME: Giving it a second thought I think I should reopen this issue. The "columns" tab page in the section options has an entry "text direction". This is missing in the "columns" tab page in the index options.
Comment 7 frank.meies 2006-10-25 09:21:03 UTC
FME: I guess calling SwColumnPage::SetInSection( TRUE ) in SwMultiTOXTabDialog::PageCreated() would add the direction entry to the column tab page in the index dialog.
Comment 8 frank.meies 2006-10-26 08:51:10 UTC
Comment 9 frank.meies 2007-12-04 07:46:26 UTC