Bug 157681 PDF Report Generated With Layout But No Data
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFAbstractLM.java
return pageDesign;
			}
		}
		return getDefaultMasterPage( report );
	}
	protected MasterPageDesign getDefaultMasterPage( IReportContent report )
	{
		PageSetupDesign pageSetup = report.getDesign( ).getPageSetup( );
		int pageCount = pageSetup.getMasterPageCount( );
		if ( pageCount > 0 )
		{
			MasterPageDesign pageDesign =  pageSetup.getMasterPage( 0 );
			context.setMasterPage( pageDesign.getName( ) );
			return pageDesign;
		}
		return null;
	}
	protected boolean handleVisibility( )
	{
		if ( isHidden( ) )
		{
			traverse( executor );
			return true;
		}
		else
		{
			return false;
		}
	}
	private void traverse( IReportItemExecutor executor )