Apache OpenOffice (AOO) Bugzilla – Issue 62072
paragraph styles: indents in indexes
Last modified: 2013-02-07 22:36:28 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
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 -> |
Reassigned to requirements.
*** Issue 72481 has been marked as a duplicate of this issue. ***
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
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.
Created attachment 60743 [details] Tab outside the paragraph width works everywhere in Word
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.