Bug 191888 Visibility issue in attached report[0300]
Description: Visibility issue in attached report Build number:2.2.0.v200706111025 Steps to reproduce: 1. Insert a label. 2. Set visibility, hide in all output except doc. 3. Preview in doc. Expected result: Label displays in word. Actual result: Label didn't display in word. Error log:N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/HTMLAbstractLM.java
public HTMLAbstractLM getParent( )
	{
		return parent;
	}
	protected abstract void start( boolean isFirst );
	protected abstract void end( boolean finished );
	/**
	 * layout the content and its children.
	 * 
	 * It can be called in three status: 1. start, the first time it is called,
	 * in this status, it first check if it need page-break-before,
	 * 
	 * 2. inprogress, the second or more time it is called. In this status, it
	 * tries to layout the content and its children to the current page.
	 * 
	 * 3. end, the last time it is called. In this status, it means all the
	 * content has been layout, it is the time to handle the page-break-after.
	 */
	public boolean layout( )
	{
		switch ( status )
		{
			case STATUS_INTIALIZE:
				
				
				
				if ( handleVisibility( ) )
				{
					status = STATUS_END;
					return false;