[Libreoffice-bugs] [Bug 116403] New: DOC(X): Adding borders to a document with TOC doesn' t correct TOC tabbing

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 14 15:37:56 UTC 2018


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

            Bug ID: 116403
           Summary: DOC(X): Adding borders to a document with TOC doesn't
                    correct TOC tabbing
           Product: LibreOffice
           Version: 4.0.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: baron at caesar.elte.hu
                CC: mikekaganski at hotmail.com
            Blocks: 104524, 108382, 112862

Created attachment 140633
  --> https://bugs.documentfoundation.org/attachment.cgi?id=140633&action=edit
Sample ODT

Open the attached samples (ODT for reference, DOC/DOCX as bugdocs), and add
border to all sides using Format -> Page...; Borders tab, Set All Four Borders.
The issue will be more apparent if Spacing to Contents is increased to eg. 0.2
cm.

=> Page numbers in TOC fall outside the border (only with DOC/DOCX, not with
ODT).
The TOC in DOCX is a bit buggy already, but that's not related.


Observed using LO 6.0.2.1 & 4.0.0.3 / Windows 7.
The number stays in the border in 3.6.0.4, with DOC, DOCX is buggy.
=> regression

The "regression" was introduced by the commit referenced below. However, I
don't think it's directly responsible for the issue, the tab position for TOC
should be adjusted when adding a border.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=bdfc6363d66aa079512cc8008996b633f693fed1
author          Miklos Vajna <vmiklos at suse.cz>  2013-01-08 11:57:13 +0100
committer       Miklos Vajna <vmiklos at suse.cz>  2013-01-08 14:17:27 +0100

n#793998 sw: add TabOverMargin compat mode


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104524
[Bug 104524] [META] DOCX (OOXML) Table of Contents (ToC) and Index related
issues
https://bugs.documentfoundation.org/show_bug.cgi?id=108382
[Bug 108382] [META] Borders bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=112862
[Bug 112862] [META] DOC (binary) Table of Contents (ToC) and Index related
issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180314/00f4071d/attachment.html>


More information about the Libreoffice-bugs mailing list