Issue 26408 - table of content: page number at left instead of right when heading length is exactly one line
Summary: table of content: page number at left instead of right when heading length is...
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1.1RC
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
Depends on:
Reported: 2004-03-12 17:18 UTC by parrenin
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

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

the example .sxw file that shows the problem (5.83 KB, application/vnd.sun.xml.writer)
2004-03-12 17:19 UTC, parrenin
no flags Details
a screenshot showing the problem (33.55 KB, image/png)
2004-03-12 17:21 UTC, parrenin
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description parrenin 2004-03-12 17:18:37 UTC
In a table of content, when the heading width is exactly equal to one line, the
page number is putted at the left of the next line, instead of at the right.

I will attach an example .sxw file and a screenshot that are self-explaining.
Comment 1 parrenin 2004-03-12 17:19:33 UTC
Created attachment 13752 [details]
the example .sxw file that shows the problem
Comment 2 parrenin 2004-03-12 17:21:37 UTC
Created attachment 13753 [details]
a screenshot showing the problem
Comment 3 lohmaier 2004-03-12 21:19:57 UTC
confirming. This is not specific to TOCs or Indexes, but a general issue with
right aligned tabulators. The text following the tab breaks to the new line
whereas the tab stays on the old line

Maybe the tab and the number should be handled non-breakable in TOCs?
or make rightaligned tabs always stick with the following "unit/word" (I don't
see where this would cause problems - at least at first glance)?

not sure about the DEFECT though... 
Comment 4 michael.ruess 2004-03-16 13:35:35 UTC
MRU->SBA: pls have a look if this corresponds to the current tab stop behaviour
changes for OO 2.0.
Comment 5 stefan.baltzer 2004-04-08 17:41:17 UTC
SBA: Target set to OOo 2.0
Comment 6 stefan.baltzer 2004-07-12 13:15:24 UTC
SBA: Reassigned to ES.
Comment 7 eric.savary 2004-07-12 15:51:17 UTC
ES->FME: Not sure about the defect too...
It has nothing to do with TOC. Reproducible with pure text.
- type a line of text
- format the tab properties so that it is right align, on the last text area
position (with DIN A4 = 17.60cm)
- type tab at the end of the line an a character after the tab
-> if the tab wraps at the end of line, i.e. begins on line 1 and ends on line
2, the char won't be right aligned at 17.60cm
Comment 8 eric.savary 2004-07-12 15:51:36 UTC