Issue 107476

Summary: Suppression of Blank Address Fields when printing
Product: Writer Reporter: whizree <alan>
Component: printingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: cno, issues
Version: OOo 1.0.0   
Target Milestone: ---   
Hardware: Unknown   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
Notes on Suppression of Blank Fields when printing none

Description whizree 2009-12-06 15:09:54 UTC
There is a very common need to suppress Blank Address Fields when creating form
letters, envelopes and labels from Databases.  

At present it is possible to suppress blank fields but means of Hidden Paragraph
functions.  However, the set up of this is very demanding and many people,
particularly those not experienced in programming, find it too difficult to do.

There have been many comments about this in OOo forums, but no action appears to
have been taken.

Please can this be given a high priority on future enhancements?
Comment 1 eric.savary 2009-12-07 11:21:11 UTC
Please define more precisely what should be shown/printed when where.

The implementation problems:
- you are addressing a feature which should be added to very different Writer
components (Mail merge, Letter/Fax... Wizards, Labels... = different developpers
= separated issues)
- one solution would be to automatically insert a conditional field/hidden
paragraph in front of every inserted field. What should happen if a complete
database record is empty? i.e. a database record has no name, address etc.:
should a label display empty or not display at all?
- your summary is "... when printing": as we claim to be WYSIWYG, shouldn't it
also suppress the empty fields/blocks on screen (in the document)? What should
be the default (show/hide)?

Because it is not clear what is needed where and when, I invite you to detail
the cases this applies to (thus reassigning back to you).

At best, look for help and feedback on the mailing
list in order to surround and define the problem more precisely.
Comment 2 whizree 2009-12-09 16:10:12 UTC
Created attachment 66573 [details]
Notes on Suppression of Blank Fields when printing
Comment 3 whizree 2009-12-09 16:13:37 UTC
Additional explanation added.
Comment 4 eric.savary 2009-12-09 16:18:26 UTC
Reassigning to Requirements.

But as I said: posting your findings on will help your
proposal in:
- getting attention
- feedback
Comment 5 eric.savary 2009-12-10 13:34:33 UTC
Comment 6 cno 2009-12-10 15:06:51 UTC
thanks for the proposal, whizree.
I've found some related issues:
  issue 47786 issue 19767

In your additional explanation you mention for the labels and envelops:
 the line ends in the wizard, that may be a problem. That is correct if you use
the conditional fields in any case.

About mail merge letters:
 I would regret not to handle the blanc lines in now.
A different solution as the one you suggested for the labels is needed. I would
think of "insert conditional field linked to ...".