[Libreoffice-bugs] [Bug 138273] New: When I merge a mailing into a PDF file by Print command, it doesn't hide hidden paragraphs

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 16 23:49:30 UTC 2020


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

            Bug ID: 138273
           Summary: When I merge a mailing into a PDF file by Print
                    command, it doesn't hide hidden paragraphs
           Product: LibreOffice
           Version: 7.0.3.1 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: m.libreoffice at santonum.eu

Description:
On Writer, in text mailing documents, we can add "hidden paragraph" fields
enabled with a condition. 
When you merge the writer document to the datasource, for every record, if the
condition is true, the paragraph should be hidden.
If you access File | Print, there is a dialog like : "This document contains
database fields. Would you like to print a mailing ?" -> YES
- if you select "Output on printer" : true condition hidden paragraphs are
HIDDEN > OK
- if you select "Output on file | Save as a unique document > OK
- if you select "Output on file | Save as "distinct" documents | Filetype : ODF
> OK when printed
- if you select "Output on file | Save as "distinct" documents | Filetype : PDF
> NOT OK : IT DOESN'T HIDE hidden paragraphs !


Steps to Reproduce:
1. Download the 2 files mailing1n.odt and mailing1n.odb in the same folder
2. Open mailing1n.odt file in Writer
3. Check the link with the 'mailing1n.odb' datasource, 'events' table
4. Use menu File > Print
5. On dialog "This document contains database fields. Would you like to print a
mailing ?" -> YES
61. Select Output : File
62. Select "Save as distinct documents" (NOT 'unique')
63. Check "Generate the filename from the database"
64. Field : "Name"
66. File type : 'PDF - Portable Document Format'
7. Press [OK]

Actual Results:
4 files of 1 page, every page with 5 record lines, some last records are the
same

Expected Results:
4 files of 1 page :
- 2 record lines on Bernard.pdf
- 3 record lines on Jean.pdf
- 1 record line  on Larry.pdf
- 2 record lines on Sarah.pdf


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 8; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); Langue IHM : fr-FR
Calc: threaded

-- 
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/20201116/5e8d123d/attachment.htm>


More information about the Libreoffice-bugs mailing list