Bug 198839 Hide element on master page works only for PDF output
1. Insert any element (grid, label, image, text) in the header or footer of the master page. 2. Use the Visibility property to hide the element for all outputs. Expected result: Element does not appear in any of the output formats. Actual result: The element is hidden only in PDF.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/ReportDocumentBuilder.java
offset ) );
						}
					}
				}
				catch ( IOException ex )
				{
					logger.log( Level.SEVERE, "Write content error" );
					close( );
				}
			}
		}
	}
	/**
	 * emitter used to save the master page.
	 * 
	 */
	class PageEmitter extends ContentEmitterAdapter
	{
		IReportContentWriter pageWriter;
		protected void open( )
		{
			try
			{
				pageWriter = new ReportContentWriterV3( document );
				pageWriter.open( ReportDocumentConstants.PAGE_STREAM );
			}
			catch ( IOException ex )
			{
				logger.log( Level.SEVERE, "failed to open the content writers",
						ex );