page.setShowFooterOnLast(handle.showFooterOnLast()); page.setShowHeaderOnFirst(handle.showFooterOnLast());
	public void visitSimpleMasterPage( SimpleMasterPageHandle handle )	{		SimpleMasterPageDesign page = new SimpleMasterPageDesign( );		// setup the base master page property.		setupMasterPage( page, handle );		page.setHeaderHeight( createDimension( handle.getHeaderHeight( ) ) );		page.setFooterHeight( createDimension( handle.getFooterHeight( ) ) );		SlotHandle headerSlot = handle.getPageHeader( );		for ( int i = 0; i < headerSlot.getCount( ); i++ )		{			apply( headerSlot.get( i ) );			if ( currentElement != null )			{				page.addHeader( (ReportItemDesign) currentElement );			}		}		SlotHandle footerSlot = handle.getPageFooter( );		for ( int i = 0; i < footerSlot.getCount( ); i++ )		{			apply( footerSlot.get( i ) );			if ( currentElement != null )			{				page.addFooter( (ReportItemDesign) currentElement );			}		}		currentElement = page;	}