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

	{
		StringBuffer styleBuffer = new StringBuffer( );
		 ( isEmbeddable )
		{
			AttributeBuilder.buildPageStyle( styleBuffer, style, this );
		}
		else
		{
			IStyle classStyle = report.findStyle( styleName );
			AttributeBuilder.buildPageStyle( styleBuffer, classStyle, this );
		}	
		r.attribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startPage(org.eclipse.birt.report.engine.content.IPageContent)
	 *
	public void startPage( IPageContent page )
	{
		pageNo++;
		
		 ( pageNo > 1 && outputMasterPageContent == false )
		{
			r.openTag( "hr" );
			r.closeTag( "hr" );
		}
		
		r.openTag( HTMLTags.TAG_DIV );
		
		
		 ( page != null )
		{
			Object genBy = page.getGenerateBy( );
			 ( genBy instanceof MasterPageDesign )
			{
				MasterPageDesign masterPage = (MasterPageDesign) genBy;
				String masterPageStyleName = masterPage.getStyleName( );
				IStyle classStyle = report.findStyle( masterPageStyleName );
				StringBuffer styleBuffer = new StringBuffer( );
				AttributeBuilder.buildBackgroundStyle( styleBuffer, classStyle, this );
				r.attribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
			}
		}
		
		 ( htmlRtLFlag )
		{
			r.attribute( HTMLTags.ATTR_HTML_DIR, "RTL" );
		}
		
		 ( pageNo > 1 )
		{
			r.attribute( HTMLTags.ATTR_STYLE, "page-break-before: always;" );
		}
		
		 ( page != null )
		{
			 ( outputMasterPageContent )
			{
				
				boolean showHeader = true;
				Object genBy = page.getGenerateBy( );
				 ( genBy instanceof SimpleMasterPageDesign )
				{
					SimpleMasterPageDesign masterPage = (SimpleMasterPageDesign) genBy;
					 ( !masterPage.isShowHeaderOnFirst( ) )
					{
						 ( page.getPageNumber( ) == 1 )
						{
							showHeader = false;
						}
					}
				}
				 ( showHeader )
				{
					r.openTag( HTMLTags.TAG_DIV );
					handlePageStyle( page.getPageHeader( ).getStyleClass( ),
							page.getPageHeader( ).getStyle( ) );
					contentVisitor.