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
Created attachment 167347 [details] Mailing 1-n ODB database
Created attachment 167348 [details] Mailing 1-n ODT document
Looks like duplicate. If not, please explain why. *** This bug has been marked as a duplicate of bug 54703 ***