[Libreoffice-bugs] [Bug 142114] New: Wrong page numbers in TOC when printed / saved as PDF due to hidden text

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 6 08:48:30 UTC 2021


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

            Bug ID: 142114
           Summary: Wrong page numbers in TOC when printed / saved as PDF
                    due to hidden text
           Product: LibreOffice
           Version: 7.0.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: temporary2017 at homolog.de

Created attachment 171677
  --> https://bugs.documentfoundation.org/attachment.cgi?id=171677&action=edit
Document which demonstrates the bug

I have a a document with a table of contents, some chapters and some paragraphs
with hidden text. In the LibreOffice Writer settings, hidden text is set to be
NOT printed.

Chapter 2 e.g. sits on page 2 when I edit the document in writer, because the
hidden text is shown.

When  I view the document in print preview, when I print the document or when I
export the document to PDF, chapter 2 sits on page 1, because the hidden text
is NOT shown.

However, the page numbers in the TOC do not reflect this difference. The TOC
keeps showing chapter 2 on page 2, regardless of the current mode (edit, print
preview, print, PDF export).

And there seems to be no way to tell the TOC to reflect the chapter page
numbers when hidden text is NOT shown.

See the attached document as an example for this behaviour.

-- 
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/20210506/bfc66790/attachment.htm>


More information about the Libreoffice-bugs mailing list