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
	r.openTag( HTMLTags.TAG_TABLE );
			r.attribute( HTMLTags.ATTR_STYLE, " w:100%; height:100%;" );
			r.openTag( HTMLTags.TAG_TR );
			r.openTag( HTMLTags.TAG_TD );
			StringBuffer textStyleBuffer = new StringBuffer( );
			textStyleBuffer.append( " vertical-align:" );
			textStyleBuffer.append( verticalAlign );
			textStyleBuffer.append( ";" );
			r.attribute( HTMLTags.ATTR_STYLE, textStyleBuffer );
			r.text( textValue );
			r.closeTag( HTMLTags.TAG_TD );
			r.closeTag( HTMLTags.TAG_TR );
			r.closeTag( HTMLTags.TAG_TABLE );
		}
		else
		{
			r.text( textValue );
		}
		
		r.closeTag( tagName );
		 ( needMetadata )
		{
			r.closeTag( selectHandleTag );
		}
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startForeign(org.eclipse.birt.report.engine.content.IForeignContent)
	 *
	public void startForeign( IForeignContent foreign )
	{
		IStyle mergedStyle = foreign.getStyle( );
		 ( peek( mergedStyle ) )
		{
			return;
		}
		logger.log( Level.FINE, "[HTMLReportEmitter] Start foreign" ); 
		StringBuffer styleBuffer = new StringBuffer( );
		DimensionType x = foreign.getX( );
		DimensionType y = foreign.getY( );
		DimensionType w = foreign.getW( );
		DimensionType height = foreign.getHeight( );
		int display;
		display = checkElementType( x, y, w, height, mergedStyle,
				styleBuffer );
		 action
		String tagName;
		String selectHandleTag = null;
		String url = validate( foreign.getHyperlinkAction( ) );
		 ( url != null )
		{
			 ( enableMetadata )
			{
				 o
				selectHandleTag = HTMLTags.TAG_SPAN;
				r.openTag( selectHandleTag );
				r.attribute( HTMLTags.ATTR_CLASS, "birt-foreign-design" ); 
				setActiveIDTypeIID( foreign );
				setBookmark( selectHandleTag, foreign.getBookmark( ) );
			}
			tagName = HTMLTags.TAG_A;
			outputAction( foreign.getHyperlinkAction( ), url );
			setDisplayProperty( display, DISPLAY_BLOCK | DISPLAY_INLINE_BLOCK,
					styleBuffer );
			AttributeBuilder.checkHyperlinkTextDecoration( mergedStyle,
			