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

            Bug ID: 162374
           Summary: LibreOffice Writer does not create links in mail merge
                    pdf outputs for second document and more
           Product: LibreOffice
           Version: 24.2.5.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
If you save a mail merge to individual pdf documents, the links contained in
the table of contents to pages within the document only work for the first
created output document. Document #2 and greater, the links are missing from
the document.

Steps to Reproduce:
1. Create a Writer Document
2. Insert a Table of Contents on page 1
3. Insert a page break and add a header element on page 2
4. Repeat step 3
5. Repeat step 3
6. Create a spreadsheet in LibreOffice Calc with 10 rows and two columns
7. Insert a field from the spreadsheet using mail merge in the Writer document
8. Save Merged Document
9. Choose to Create separate documents
10. Choose type pdf
11. Open the first merged pdf
12. NOTE, clicking on an element of the table of contents takes you to the page
13. Open the second merged pdf
14. NOTE, clicking on an element of the table of contents does nothing
15. Repeat 13 and 14 for subsequent merged documents


Actual Results:
The second outputted merged pdf document does not contain links in the table of
contents. 
The first outputted merged pdf document does contain links in the table of
contents.

Expected Results:
ALL outputted merged pdf document should contain links in the table of
contents.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to