image = emitter.getHyperlinkBuilder( ).createHyperlink( IHyperlinkProcessor.HYPERLINK_IMAGE, image );
image = emitter.getHyperlinkBuilder( ).createImgURL( image );
	private static void buildBackground( StringBuffer content,			IStyle style, HTMLReportEmitter emitter )	{		buildProperty( content, HTMLTags.ATTR_COLOR, style.getColor( ) ); //$NON-NLS-1$		String color = style.getBackgroundColor( );		String image = style.getBackgroundImage( );		String repeat = style.getBackgroundRepeat( );		String attach = style.getBackgroundAttachment( );		String x = style.getBackgroundPositionX( );		String y = style.getBackgroundPositionY( );		if ( color == null && image == null && !"none".equalsIgnoreCase( image ) //$NON-NLS-1$				&& repeat == null && attach == null && x == null && y == null )		{			return;		}		content.append( " background:" ); //$NON-NLS-1$		addPropValue( content, color );		if ( !"none".equalsIgnoreCase( image ) //$NON-NLS-1$				&& FileUtil.isRelativePath( image )				&& emitter.getReport( ) != null )		{			image = FileUtil.getAbsolutePath( emitter.getReport( )					.getBasePath( ), image );		}		if ( image != null && image.length( ) > 0				&& !"none".equalsIgnoreCase( image ) ) //$NON-NLS-1$		{			if ( FileUtil.isLocalResource( image ) )			{				if ( emitter.needSaveImgFile( ) )				{					image = emitter.getResourceManager( ).storeResource( image,							HTMLReportEmitter.IMAGE_FOLDER );					if ( image == null )					{						image = "none"; //$NON-NLS-1$					}				}				else				{					image = "file:" + image; //$NON-NLS-1$				}				image = emitter.getHyperlinkBuilder( ).createHyperlink(						IHyperlinkProcessor.HYPERLINK_IMAGE, image );			}			addURLValue( content, image );		}		addPropValue( content, repeat );		addPropValue( content, attach );		addPropValue( content, x );		addPropValue( content, y );		content.append( ';' );	}