Issue 62072

Summary: paragraph styles: indents in indexes
Product: Writer Reporter: claudiadzm <claudia.drechsle>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: chris_mux, issues
Version: OOo 1.0.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Tab outside the paragraph width works everywhere in Word
none
Picture of a problem caused by this bug none

Description claudiadzm 2006-02-15 07:04:48 UTC
In indexes it would be usefull to have a paragraph form like:
XXXXXXXXXXXX
XXXXXXXXXXXX
XXXXXXXXXXXXXXXX
where the last line has its own indent.

It might have other appliances for this paragraph-design so perhaps it should be
more generalized:
Flexible indents at the left and right border for the first and the last line of
a paragraph.
Also it should be possible to define tab-stops in the part of the last line that
is outside the rest of the paragraph
Comment 1 khbellgardt 2006-02-15 08:03:17 UTC
One motive for this issue, as I see it, was to have a nice formatting of indexes
with entries that occupy more than one line. At present, the entry text will
overlap page numbers that are positioned at the right side.

Example:

1   This is a heading with very long text that
    needs two lines<tab>                    3 
                                Tab stop-> |
                        Paragraph width ->    |

The page number 3 overlaps "that". This is how it should look:

1   This is a heading with very long text
    that needs two lines<tab>               1 

This behaviour could be achieved by the proposed indenting feature. Another more
simple way ist used in MS-Word. There it is possible to set a tab stop outside
the paragraph. Then the solution to the above problem would be:

1   This is a heading with very long text
    that needs two lines<tab>               1 
                                Tab stop-> |
                   Paragraph width ->    |
Comment 2 michael.ruess 2006-02-15 10:25:23 UTC
Reassigned to requirements.
Comment 3 michael.ruess 2007-03-16 11:35:43 UTC
*** Issue 72481 has been marked as a duplicate of this issue. ***
Comment 4 request 2009-03-04 14:17:21 UTC
Note: The Tabstop of the page nuber schoud be a right-jusified tap stop, because
Pagenumbers could be short or long.

      |<-left-justified tap stop
      |<-justified    paragraph     width->|
                                right tab stop->|

1.1   This is a heading with very long text
      that needs two lines<tab>................5 

1.2   This is a heading with very long text
      that needs two lines<tab>...............11
Comment 5 request 2009-03-05 13:40:07 UTC
I think a special indent for the last line that can be longer ist "no" problem 
solving because it will look like this:

      |<-left-justified tap stop
      |<-justified   paragraph     width->|
      |<-justified       paragraph       width->|

1.1   This is a heading with very long text
      that needs  two lines. This is a problem 3

So I think the only way is the way used in MS-Word, where it is possible to 
set a tab stop outside the paragraph.

In the Writer the justified paragraph take priority over the tab stop and 
looks like this:

      |<-left-justified tap stop
      |<-justified   paragraph      width->|
                      right-justified Tab stop->|

1.1   This is a heading with very long text
      that needs two lines<tab>............
      ..................................  3

It seems like: He first jumps to the tab stop, an everything is ok, but then 
he begins a new line, because the line is too long.

I don´t know how much trouble it would give to prioritize the tab stop, 
because this is no new feature. I think this would be like looking for a bug. 
And I think it will be also a necessary problem solving for imorting MS-Word 
files, because this works also outside an index.
Comment 6 request 2009-03-05 13:48:08 UTC
Created attachment 60743 [details]
Tab outside the paragraph width works everywhere in Word
Comment 7 tablerocker 2012-10-26 23:25:40 UTC
Created attachment 79827 [details]
Picture of a problem caused by this bug

See the problem (it still exists in OOo 3.4.1) in automatic generated indexes with captions longer than one line. The caption text overlaps the area which should be reserved for page numbers.