https://bugs.documentfoundation.org/show_bug.cgi?id=157914

            Bug ID: 157914
           Summary: ENHANCEMENT: Allow tabbing beyond indent
           Product: LibreOffice
           Version: 7.5.7.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: page74010...@yahoo.fr

Created attachment 190406
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190406&action=edit
Description of desired layout and behaviour

Proposal after negative answer on
https://ask.libreoffice.org/t/setting-the-table-of-contents-style/97369

It is sometimes necessary to make an "element" in a paragraph to stand out in
margins. The common solution is to attach a text frame to the paragraph and
insert the relevant "element" inside it.

Unfortunately this is not possible for TOCs or Table of Figures, … because the
paragraph is internally generated. The only degree of freedom is to play with
tab stop position. This is usually sufficient because entries are relatively
short and the "element" (page number) can be offset with a tab.

However, with large entries (as can be produced with figure caption), this does
not work because the entry will use the full width between indents and the page
number can at most be flushed to the right indent. Changing the indent does
nothing because both text and page number are constrained by the indent.

In a paragraph style, tab stops can be defined at any distance. Overflow
against right indent (in LTR languages) is not checked at configuration time.
Therefore a tab stop can already be defined beyond the right indent.

When a tab is met in text, Writer looks for the next stop beyond the current
position. If all explicitly defined stops have already been passed, implicit
evenly spaced stops are considered provided we are between the indents. If an
explicitly define stop can be a candidate, it is used only if it lies between
the indents, otherwise it is ignored and text wraps to next line first tab
stop.

To achieve the desired traditional layout in TOCs and "Tables of …", it is
necessary to allow to tab beyond the right indent.

I know this is not in ODF.

IMHO, there are two ways to achieve the desired layout:

- add a checkbox near the indent definitions to "Allow tabbing beyond After
Text" to enable EXPLICIT (only) tab recognition (evenly-spaced tabs must still
be limited to indents for compatibility with existing documents)
- or define an optional extra indent beyond After Text for the purpose of
inserting "stand-out" data; entering into this area is done only through
tabbing to an explicit tab stop (if it exists)

The second alternative offers a way to limit the extent of extra data and to
wrap to next line when th "overflow indent" is reached.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to