Issue 26408

Summary: table of content: page number at left instead of right when heading length is exactly one line
Product: Writer Reporter: parrenin <parrenin.frederic>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1.1RCKeywords: oooqa
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
the example .sxw file that shows the problem
a screenshot showing the problem none

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