Bug 152834 support HTML description of the template
The template descrition is a fragment of HTML, use that fragment to render the template in HTML.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
 );
						}
					}
					 ( style.getBorderLeftStyle( ) == null )
					{
						styleBuffer.append( "border-left-style:none;" );
					}
					else
					{
						 ( style.getBorderLeftColor( ) == null )
						{
							styleBuffer.append( "border-left-color:black" );
						}
					}
					 ( style.getBorderRightStyle( ) == null )
					{
						styleBuffer.append( "border-right-style:none;" );
					}
					else
					{
						 ( style.getBorderRightColor( ) == null )
						{
							styleBuffer.append( "border-right-color:black" );
						}
					}
				}
				r.attribute( HTMLTags.ATTR_USEMAP, "#" + imageMapId );  $NON-NLS-2$
			}
			 alternative text
			String altText = image.getAltText( );
			 ( altText == null )
			{
				r.attributeAllowEmpty( HTMLTags.ATTR_ALT, "" );
			}
			else
			{
				r.attribute( HTMLTags.ATTR_ALT, altText );
			}
			 help text
			r.attribute( HTMLTags.ATTR_TITLE, image.getHelpText( ) );
			 image size
			AttributeBuilder.buildSize( styleBuffer, HTMLTags.ATTR_WIDTH, image
					.getW( ) ); 
			AttributeBuilder.buildSize( styleBuffer, HTMLTags.ATTR_HEIGHT,
					image.getHeight( ) ); 
			 handle style
			handleStyle( image, styleBuffer, false );
			 ( ".PNG".equalsIgnoreCase( ext ) && imageHandler != null ) 
			{
				r.attribute( HTMLTags.ATTR_ONLOAD, "fixPNG(this)" ); 
			}
			r.closeNoEndTag( );
		}
		 ( hasAction )
		{
			r.closeTag( HTMLTags.TAG_A );
		}
		r.closeTag( tag );
		
		 include	select handle chart
		 ( enableMetadata )
		{
			 ( generateBy instanceof ExtendedItemDesign )
			{
				endSelectHandle( display, DISPLAY_BLOCK);
			}
		}
	}
	
	private void startSelectHandle( int display, int blockType, String cssClass )
	{
		r.openTag( getTagByType( display, blockType ) );
		r.attribute( HTMLTags.ATTR_CLASS, cssClass );
	}
	private void endSelectHandle( int display, int blockType )
	{
		r.closeTag( getTagByType( display, blockType ) );
	}
	**
	 * gets the image's URI
	 * 
	 * @param image
	 *            the image content
	 * @return image's URI
	 *
	pro