Issue 111229 - tabstops on TOC are no fully functional (do not suupport right and middle alignment)
Summary: tabstops on TOC are no fully functional (do not suupport right and middle ali...
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.2
Hardware: All All
: P3 Minor (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2010-04-28 15:18 UTC by rgb
Modified: 2014-04-03 08:44 UTC (History)
2 users (show)

See Also:
Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---

Several TOCs that show the problem, plus how TOC should look like (12.82 KB, application/vnd.oasis.opendocument.text)
2014-04-02 20:39 UTC, rgb
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rgb 2010-04-28 15:18:51 UTC
When creating a TOC you can insert tabstops between entries, but these tabstops
have not the whole functionality they have on paragraph styles. For instance, if
you select “Align to the right” the following element will be aligned to the
right of the page, not to the right of the tabstop itself.

Usercase: I want to set up a TOC in which the chapter numbers are aligned this
way (the underscore represent a space to show alignment):

but now I can only obtain the following

by adding to TOC's tabstops the same alignment capabilities you find on
paragraph's tabstops this would be easy to accomplish with an arrangement like
this one:
T   E#   T   E   T   #
with the first "T" aligned to the right of the tabstop itself, the second to the
left and the last one to the right of the page.
Only workaround I found is to NOT use the chapter numbers on the TOC, but to set
"index 1" paragraph style to use a numbering style properly aligned that mimic
chapter numbers. But this workaround is painful if you have several outline
Comment 1 eric.savary 2010-04-28 15:37:03 UTC
Comment 2 Joe Smith 2011-01-06 14:00:09 UTC
If the tab characters inserted according to the index entry configuration would
follow the tab stop configuration supplied by the paragraph style, this issue
would be solved, and the entry layout would be far more flexible.

The paragraph style already handles all the other formatting, why not the tab
stops (position, alignment, fill char) as well?
Comment 3 Edwin Sharp 2014-04-02 18:42:46 UTC
Please attach example.
Comment 4 rgb 2014-04-02 20:39:29 UTC
Created attachment 83064 [details]
Several TOCs that show the problem, plus how TOC should look like

See description in the document: three TOCs are build as example and a "pseudo TOC" shows how TOC should look like.
Comment 5 Edwin Sharp 2014-04-03 08:44:47 UTC
Confirmed with
AOO410m15(Build:9761)  -  Rev. 1583666
2014-04-01 13:53:14 (Di, 01 Apr 2014)
Win 7