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
{
			IContent content = reader.readContent( );
			
			
			while ( !contents.isEmpty( ) )
			{
				IContent parent = (IContent) contents.peek( );
				if ( parent != content.getParent( ) )
				{
					endContent( parent, emitter );
					contents.pop( );
					continue;
				}
				break;
			}
			
			if ( contents.isEmpty( ) )
			{
				long curOffset = reader.getOffset( );
				IContent parent = (IContent) content.getParent( );
				if ( parent != null )
				{
					outputParent( parent );
				}
				reader.setOffset( curOffset );
			}
			
			initializeContent( content );
			startContent( content, emitter );
			contents.push( content );