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

            Bug ID: 95239
           Summary: Wrong ToC in Navigator and PDF when using frames
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 119857
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119857&action=edit
ODT file with headings and wrong ToC in Navigator

If I set some headings inside a frame, the ordering on Navigator window is
wrong, including on PDF export, but a generated Table of Contents (ToC) in
Writer is correct.

Expected behaviour:
The ToC entries in the Navigator window and the PDF bookmarks on the exported
document are with the correct heading tree structure.

Current behaviour:
LO puts all sub-headings inside the last top-heading.

Steps to reproduce:
- create new writer document;
- insert a Frame
- insert some text inside the newly created frame, assign "Heading 1" style;
- outsite the frame, insert some text and assign "Heading 2" style;
- insert another paragraph, assign "Text Body" style;
- insert another frame and repeat the previous steps.

- export as PDF, make sure that the "Export Bookmarks" option ("General" Tab,
section "General") is active;
- the resulting PDF has all the "Heading 2" entries under the last "Heading 1"
inserted.

See the attached odt and the exported PDF.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to