pageNumber--; resolveTotalPage( );
if ( isLast ) { pageNumber--; resolveTotalPage( ); } return;
	protected void end( )	{		if ( !isFirst && isPageEmpty( ) )		{			if ( isLast )			{				pageNumber--;				resolveTotalPage( );			}			return;		}		MasterPageDesign mp = getMasterPage( report );		if ( mp instanceof SimpleMasterPageDesign )		{			if ( isFirst					&& !( (SimpleMasterPageDesign) mp ).isShowHeaderOnFirst( ) )			{				removeHeader( );				isFirst = false;			}			if ( isLast					&& !( (SimpleMasterPageDesign) mp ).isShowFooterOnLast( ) )			{				removeFooter( );			}			if ( ( (SimpleMasterPageDesign) mp ).isFloatingFooter( ) )			{				floatingFooter( );			}		}		if ( isFirst )		{			isFirst = false;		}		getEmitter( ).startPage( pageContent );		getEmitter( ).endPage( pageContent );		pageBreakEvent( );		if ( isLast )		{			resolveTotalPage( );		}		pageNumber++;	}