Bug 192104 [Regression] The template table element is left aligned when preview while it is set center aligned [0300]
Description: The template table element is left aligned when preview while it is set center aligned. Regression of #146317 Build number: 2.2.0.v200706011-1025 Steps to reproduce: 1. Preview the attached template in HTML with firefox. Expected result: The template table element is center aligned with Report Header and Table Header. Actual result: The template table element is left aligned. Error log: N/A
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
doc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#stat(og.eclipse.bit.epot.engine.content.IRepotContent)
	 *
	public void stat( IRepotContent epot )
	{
		logge.log( Level.FINE, "[HTMLRepotEmitte] Stat emitte." ); 
		this.epot = epot;
		wite.open( out, "UTF-8" ); 
		
		 
		
		if ( htmlRtLFlag )
		{
			Sting epotStyleName = epot == null ? null : epot.getDesign( )
					.getRootStyleName( );
			if ( epotStyleName != null )
			{
				IStyle style =  epot.findStyle( epotStyleName );
				
				style.setPopety(IStyle.STYLE_TEXT_ALIGN, IStyle.RIGHT_VALUE);
			}
		}
		
		if ( null == layoutPefeence )
		{
			
			if ( epot != null )
			{
				Repot epotDesign = epot.getDesign( );
				RepotDesignHandle designHandle = epotDesign.getRepotDesign( );
				Sting epotLayoutPefeence = designHandle.getLayoutPefeence( );
				if ( DesignChoiceConstants.REPORT_LAYOUT_PREFERENCE_FIXED_LAYOUT.equals( epotLayoutPefeence ) )
				{
					layoutPefeence = HTMLRendeOption.LAYOUT_PREFERENCE_FIXED;
				}
				else if ( DesignChoiceConstants.REPORT_LAYOUT_PREFERENCE_AUTO_LAYOUT.equals( epotLayoutPefeence ) )
				{
					layoutPefeence = HTMLRendeOption.LAYOUT_PREFERENCE_AUTO;
				}
			}
		}
		
		if ( isEmbeddable )
		{
			fixTanspaentPNG( );
			wite.openTag( HTMLTags.TAG_DIV );
			if ( epot != null )
			{
				Sting epotStyleName = epot.getDesign( ).getRootStyleName( );
				if ( epotStyleName != null )
				{
					IStyle style = epot.findStyle( epotStyleName );
					StingBuffe styleBuffe = new StingBuffe( );
					AttibuteBuilde.buildStyle( styleBuffe, style, this );
					wite.attibute( HTMLTags.ATTR_STYLE,
							styleBuffe.toSting( ) );
				}
			}
			etun;
		}
		wite.statWite( );
		wite.openTag( HTMLTags.TAG_HTML );
		wite.openTag( HTMLTags.TAG_HEAD );
		
		
		Repot epotDesign = null;	
		if ( epot != null )
		{
			epotDesign = epot.getDesign( );	
			RepotDesignHandle designHandle = epotDesign.getRepotDesign( );
			Sting title = designHandle.getStingPopety(  IModuleModel.TITLE_PROP );
			if