Bug 161186 Effects in viewer and PDF are not the same
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFAbstractLM.java
/**
	 * layout the content and its children.
	 * 
	 * It can be called in three status:
	 * <ol> 
	 * <li> start, the first time it is called. In this status, 
	 * it first check if it need page-break-before,
	 * 
	 * <li> 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.
	 * 
	 * <li> 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.
	 * </ol>
	 */
	public boolean layout( )
	{
		boolean hasNextPage = false;
		switch ( status )
		{
			case STATUS_START :
				
				
				
				if ( handleVisibility( ) )
				{
					status = STATUS_END;
					return false;
				}