Bug 183541 [Automation][Regression] total page auto text did not work properly in pdf report
steps to reproduce: - use the attached report design - preview in pdf expected behavior: - total page auto text should be output properly actual behavior: - it did not do so
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFPage.java
else
		{
			currentContentByte.showText( text );
		}
		currentContentByte.endText( );
		currentContentByte.restoreState( );
	}
	private void drawLine( float textX, float textY, float width,
			float lineWidth, float verticalOffset, Color color,
			PdfContentByte contentByte )
	{
		textY = textY + verticalOffset;
		drawLine( textX, textY, textX + width, textY, lineWidth, color,
				"solid", contentByte ); 
	}
	private float transformY( float y )
	{
		return pageHeight - y;
	}
	private float transformY( float y, float height )
	{
		return pageHeight - y - height;
	}
	private float transformY( float y, float height, float containerHeight )
	{
		return containerHeight - y - height;
	}
	/**
	 * Draws a line from the start position to the end position with the given
	 * linewidth, color, and style at the given pdf layer.