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
PdfTemplate templateX = cbUnder.createTemplate(
									remainX, height );
							templateX.addImage( img, img.scaledWidth( ), 0, 0,
									img.scaledHeight( ), 0, -img.scaledHeight( )
											+ height - absPosY );
							cbUnder.addTemplate( templateX,
									x + width - remainX, y - absPosY - height );
						}
						remainX = 0;
					}
					else
					{
						if ( height - absPosY > img.scaledHeight( ) )
							cbUnder.addTemplate( template, x + width - remainX,
									y - absPosY - img.scaledHeight( ) );
						else
							cbUnder.addTemplate( template, x + width - remainX,
									y - absPosY - height );
						remainX -= img.scaledWidth( );
					}
				}
			}
			
			else if ( "repeat-y".equalsIgnoreCase( repeat ) ) 
			{
				float remainY = height;