Issue 114633 - Hidden Sections (and fields) are Visible at Printer and in pdf export.
Summary: Hidden Sections (and fields) are Visible at Printer and in pdf export.
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOO310m19
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 116494 (view as issue list)
Depends on:
Blocks:
 
Reported: 2010-09-21 00:52 UTC by wbaker2
Modified: 2017-05-20 11:15 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
In this document, open the Biblio database, select either Identifier = OOO01 or OOO02, then follow procedure in original post. (7.46 KB, application/vnd.oasis.opendocument.text)
2010-09-21 21:31 UTC, wbaker2
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description wbaker2 2010-09-21 00:52:49 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.
Comment 1 eric.savary 2010-09-21 09:49:51 UTC
Please attach a sample document
Comment 2 wbaker2 2010-09-21 21:31:10 UTC
Created attachment 71793 [details]
In this document, open the Biblio database, select either Identifier = OOO01 or OOO02, then follow procedure in original post.
Comment 3 eric.savary 2010-09-22 10:59:20 UTC
@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?
Comment 4 michael.ruess 2011-01-18 09:17:21 UTC
*** Issue 116494 has been marked as a duplicate of this issue. ***
Comment 5 Oliver Brinzing 2011-01-18 09:37:50 UTC
.
Comment 6 alexjrice 2011-01-18 10:21:38 UTC
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.
Comment 7 Martin Hollmichel 2011-03-16 11:44:11 UTC
set target 3.x since not relevant for 3.4 release.
Comment 8 eberlein 2011-03-16 12:56:59 UTC
.
Comment 9 Marcus 2017-05-20 11:15:42 UTC
Reset assigne to the default "issues@openoffice.apache.org".