writer.openTag( HTMLTags.TAG_DIV ); handlePageStyle( page.getPageFooter().getStyleClass( ), page.getPageFooter().getStyle( ) );  contentVisitor.visitChildren( page.getPageFooter( ), null );   writer.closeTag( HTMLTags.TAG_DIV );
boolean showFooter = true; Object genBy = page.getGenerateBy( ); if ( genBy instanceof SimpleMasterPageDesign ) { SimpleMasterPageDesign masterPage = (SimpleMasterPageDesign) genBy; if ( !masterPage.isShowFooterOnLast( ) ) { long totalPage = page.getPageNumber( ); IReportContent report = page.getReportContent( ); if ( report != null ) { totalPage = report.getTotalPage( ); } if ( page.getPageNumber( ) ==  totalPage) { showFooter = false; } } } if ( showFooter ) {   writer.openTag( HTMLTags.TAG_DIV ); handlePageStyle( page.getPageFooter( ).getStyleClass( ), page.getPageFooter( ).getStyle( ) );  contentVisitor.visitChildren( page.getPageFooter( ), null );   writer.closeTag( HTMLTags.TAG_DIV ); }
	public void endPage( IPageContent page )	{				logger.log( Level.FINE, "[HTMLReportEmitter] End page." ); //$NON-NLS-1$		//close the page body (DIV)				writer.closeTag( HTMLTags.TAG_DIV );				//output page footer		if ( page != null )		{			if ( outputMasterPageContent )			{				//start output the page footer				writer.openTag( HTMLTags.TAG_DIV );								handlePageStyle( page.getPageFooter().getStyleClass( ), page.getPageFooter().getStyle( ) );											contentVisitor.visitChildren( page.getPageFooter( ), null );												//close the page footer				writer.closeTag( HTMLTags.TAG_DIV );			}		}				// close the page tag ( DIV )		writer.closeTag( HTMLTags.TAG_DIV );	}	