Bug 131622 UI - Autotext enhancments - Support Total Page count
Engine will support total page count. We need to make the UI changes to support the total page count.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/document/v2/ReportContentLoaderV2.java
return;
			}
			Object generateBy = pageContent.getGenerateBy( );
			if ( generateBy instanceof SimpleMasterPageDesign )
			{
				SimpleMasterPageDesign pageDesign = (SimpleMasterPageDesign) generateBy;
				if ( !pageDesign.isShowHeaderOnFirst( ) )
				{
					if ( pageNumber == 1 )
					{
						pageContent.getHeader( ).clear( );
					}
				}
				if ( !pageDesign.isShowFooterOnLast( ) )
				{
					if ( pageNumber == reportDoc.getPageCount( ) )
					{
						pageContent.getFooter( ).clear( );
					}
				}
			}
			emitter.startPage( pageContent );
		}
		for ( int i = 0; i < pageHint.getSectionCount( ); i++ )
		{
			long start = pageHint.getSectionStart( i );
			long end = pageHint.getSectionEnd( i );
			if ( start != -1 && end != -1 )
			{
				try