src = FileUtil.getAbsolutePath(rootPath, src);
ReportDesignHandle handle = content.getReportContent( ).getDesign( ).getReportDesign( ); URL url = handle.findResource( src, IResourceLocator.IMAGE ); if(url!=null) { src = url.getFile( ); }
	protected void outputImg( Element ele, HashMap cssStyles, IContent content )	{		String src = ele.getAttribute( "src" ); //$NON-NLS-1$		if(src!=null)		{					IImageContent image = new ImageContent(content);			addChild(content, image);			handleStyle(ele, cssStyles, image);						if( !FileUtil.isLocalResource( src ) )			{				image.setImageSource(IImageContent.IMAGE_URL);				image.setURI(src);			}			else			{				src = FileUtil.getAbsolutePath(rootPath, src);				image.setImageSource(IImageContent.IMAGE_FILE);				image.setURI(src);			}						if(null!=ele.getAttribute("width") && !"".equals(ele.getAttribute("width"))) //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$			{				image.setWidth(DimensionType.parserUnit(ele.getAttribute("width"))); //$NON-NLS-1$			}			if(ele.getAttribute("height")!=null &&! "".equals(ele.getAttribute("height"))) //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$			{				image.setWidth(DimensionType.parserUnit(ele.getAttribute("height"))); //$NON-NLS-1$			}			if(ele.getAttribute("alt")!=null && !"".equals(ele.getAttribute("alt"))) //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$			{				image.setAltText(ele.getAttribute("alt")); //$NON-NLS-1$			}								}	}