Issue 69720 - Columns in Alphabetic Index always go from left to right
Summary: Columns in Alphabetic Index always go from left to right
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.0
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 12:09 UTC by nyh
Modified: 2013-08-07 14:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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
.