Bug 197585 URL Link error in Line-Chart output in PDF format
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFImageLM.java
}
		}
	}
	protected void init( )
	{
		assert ( content instanceof IImageContent );
		image = (IImageContent) content;
		maxWidth = parent.getCurrentMaxContentWidth( );
		Dimension contentDimension = getSpecifiedDimension( image );
		root = (ContainerArea) createInlineContainer( image, true, true );
		validateBoxProperty( root.getStyle( ), maxWidth, context.getMaxHeight( ) );
		
		root.setAllocatedWidth( maxWidth );
		int maxContentWidth = root.getContentWidth( );
		ImageArea imageArea = (ImageArea) AreaFactory.createImageArea( image );
		imageArea.setWidth( contentDimension.getWidth( ) );
		imageArea.setHeight( contentDimension.getHeight( ) );
		root.addChild( imageArea );
		imageArea.setPosition( root.getContentX( ), root.getContentY( ) );
		processChartLegend( image, imageArea );
		root.setContentWidth( contentDimension.getWidth( ) );
		root.setContentHeight( Math.min( context.getMaxHeight( ),
				contentDimension.getHeight( ) ) );
	}
	/**
	 * Creates legend for chart.
	 * 
	 * @param imageContent
	 *            the image content of the chart.
	 * @param imageArea