Bug 191947 [Regression]PDF output: extra/broken border
Regression bug:168136 Get the attached report design file, and preview the pdf. The border is truncated. Build version:2.2.0.v20070611-0956
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/emitter/PageDeviceRender.java
}
		endContainer( container );
	}
	/**
	 * If the container is a PageArea, this method creates a pdf page. If the
	 * container is the other containerAreas, such as TableArea, or just the
	 * border of textArea/imageArea this method draws the border and background
	 * of the given container.
	 * 
	 * @param container
	 *            the ContainerArea specified from layout
	 */
	protected void startContainer( IContainerArea container )
	{
		if ( container instanceof PageArea )
		{
			scale = container.getScale( );
			hTextSpace = (int) ( H_TEXT_SPACE * scale );
			vTextSpace = (int) ( V_TEXT_SPACE * scale );
			newPage( container );
			containerStack.push( new ContainerPosition( 0, 0 ) );
		}
		else
		{
			if ( needClip( container ) )
			{
				pageGraphic.clipSave( );
				clip( container );
			}
			drawContainer( container );