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/parser/EngineIRVisitor.java
/*
		 * model hasn't send onPageBreak to us
		cell.setOnPageBreak( handle.getOnPageBreak( ) );
		*/
		
		currentElement = cell;
	}
	
	private boolean isCellInGroupHeader( CellHandle cellHandle )
	{
		DesignElementHandle rowHandle = cellHandle.getContainer( );
		if ( rowHandle instanceof RowHandle )
		{
			DesignElementHandle groupHandle = rowHandle.getContainer( );
			if ( groupHandle instanceof TableGroupHandle )
			{
				SlotHandle slot = rowHandle.getContainerSlotHandle( );
				if ( slot != null )
				{
					if( slot.getSlotID( ) == GroupHandle.HEADER_SLOT )
					{
						return true;
					}
				}
			}
		}		
		return false;
	}
	/**
	 * create a list band using the items in slot.