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

            Bug ID: 167705
           Summary: MAILMERGE loses some objects for PDF documents
           Product: LibreOffice
           Version: 25.2.4.3 release
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
A mail merge with a PDF document containing shapes or framses does not always
include the shapes content in the result.

Steps to Reproduce:
0. If you haven't already got a suitable data source, create some data in a
spreadsheet, in a column, and then register this as a data source, probably
easiest done in Base.
1.Create a Canva document - I was creating a certificate. I started this way,
but I don't think this is the problem.
2. Export the Canca document as a PDF. I tried both PDF options. Both had
issues.  A flattened version works best: (Bug 1 - if you export unflattened,
when you mailmerge, objects will end up with the wrong layering.) 
3. Open the PDF in Writer - you will need to choose Portable Document Format
(Writer) in the Open Dialogue for file type.
4. Bug 2: You may see blank image frames. Text frames are imported. You can
fill these by opening the PDF in Draw and copying and pasting. 
5. Create a frame for the mail merge fields. You may need to do this on a new
page by inserting a page break first
6. Using Insert field, add a mail merge field. You may find it useful to give
the frame a background colour Move the frame onto the first page, removing the
second page.
6. Open the mail merge toolbar 
8. Using the toolbar, Save the mail merge output. Use the file type box to
change the type of the output.

Actual Results:
If you save the merge as a single document, whether ODT or PDF, you will find
that the frame and field/s renders. If you choose the multiple document format,
whether outputting as ODT or PDF, the frame will not exist in the output.

During testing I had other variations of the objects not existing in the
output: missing shapes.

Expected Results:
The output contains the mail merge fields!


Reproducible: Always


User Profile Reset: No

Additional Info:
I suggest not saving the document before you have completed the mail merge. I
think I got different results - all blank output, when I did this.

Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 520(Build:3)
CPU threads: 8; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Ubuntu package version: 4:25.2.4-0ubuntu0.25.04.1
Calc: threaded

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

Reply via email to