Apache OpenOffice (AOO) Bugzilla – Issue 114633
Hidden Sections (and fields) are Visible at Printer and in pdf export.
Last modified: 2017-05-20 11:15:42 UTC
Two sections with alternative conditions for being hidden. When I select a record from the database query and do a "Data to Fields", the test on the desired field is done correctly and one of the two sections is hidden... UNTIL I try to print the document or create a pdf. Then, everything is appears, including on the screen! Print preview is correct (hiding the appropriate section), but actually printing or creating a pdf result in all sections being visible. With dummy database field Paragraph_2_Print = Para1. Create new document. Insert two sections. In first section, type "Paragraph 1", set hide condition to Paragraph_2_Print EQ "Para2". In second section, type "Paragraph 2", set hide condition to Paragraph_2_Print EQ "Para1". F4 to access database, select record with Paragraph_2_Print = Para1. Then press "Data to Fields" button. The result is Paragraph 1 is visible while Paragraph 2 is hidden. Press "Print Preview" button and preview is correct. However, actually print or export as pdf and both paragraphs are produced. I'm using OpenSuse 11.2, OOO310m21.
Please attach a sample document
Created attachment 71793 [details] In this document, open the Biblio database, select either Identifier = OOO01 or OOO02, then follow procedure in original post.
@OS: as discussed: - printing/pdf export of hidden sections over condition seems to be broken since 3.0. - also printing/pdf export of hidden paragraphs is broken but since 3.0.1. Can you please handle both in 1 issue?
*** Issue 116494 has been marked as a duplicate of this issue. ***
.
I had the same problem and by chance I found a thread mentioning that mail merge didn't work correctly if 'show field names' was checked on the 'view' tab. In my case this was not the issue, but having un-checked everything on the 'view tab' including 'field shading' and 'text boundaries' and also turned off automatic updating of fields in 'preferences - open office writer - general ' it now works correctly. I haven't had time to figure out exactly which of the changes solves the problem, but for now that's a workaround. There are sample documents attached to my dupe of this issue.
set target 3.x since not relevant for 3.4 release.
Reset assigne to the default "issues@openoffice.apache.org".