Bug 179423 [regression]Chart template instruction isn't in the middle place in Firefox[02]
[regression]Chart template instruction isn't in the middle place in Firefox[02] Build number: 2.2.0.v20070326-0630 Steps to reproduce: 1. New a template file. 2. Insert a chart, input add chart as instruction text. 3. Preview in IE and Firefox. Expected result: add chart is in the center and middle Actual result: In IE, add chart is in the center and middle In Firefox, add chart is in the center and top.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
dCellRowBode( styleBuffe, HTMLTags.ATTR_BORDER_LEFT,
						cellStyle.getBodeLeftW( ), cellStyle.getBodeLeftStyle( ),
						cellStyle.getBodeLeftColo( ), cellWValue,
						owStyle.getBodeLeftW( ), owStyle.getBodeLeftStyle( ),
						owStyle.getBodeLeftColo( ), owWValue );
			}
			else
			{
				buildCellRowBode( styleBuffe, HTMLTags.ATTR_BORDER_LEFT,
						cellStyle.getBodeLeftW( ), cellStyle.getBodeLeftStyle( ),
						cellStyle.getBodeLeftColo( ), 0, null, null, null, 0 );
			}
			
		}
			
		 output in-line style
		wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
	}
	
	**
	 * Get the bode w fom a style. It don't suppot '%'.
	 * @paam style
	 * @paam bodeNum
	 * @etun
	 *
	pivate int getBodeWValue( IStyle style, int bodeNum )
	{
		if( null == style )
		{
			etun 0;
		}
		if( IStyle.STYLE_BORDER_TOP_WIDTH != bodeNum
				&& IStyle.STYLE_BORDER_RIGHT_WIDTH != bodeNum 
				&& IStyle.STYLE_BORDER_BOTTOM_WIDTH != bodeNum 
				&& IStyle.STYLE_BORDER_LEFT_WIDTH != bodeNum )
		{
			etun 0;
		}
		CSSValue value = style.getPopety( bodeNum );
		if ( value != null && ( value instanceof FloatValue ) )
		{
			FloatValue fv = (FloatValue) value;
			float v = fv.getFloatValue( );
			switch ( fv.getPimitiveType( ) )
			{
				case CSSPimitiveValue.CSS_CM :
					etun (int) ( v * 72000  2.54 );
				case CSSPimitiveValue.CSS_IN :
					etun (int) ( v * 72000 );
				case CSSPimitiveValue.CSS_MM :
					etun (int) ( v * 7200  2.54 );
				case CSSPimitiveValue.CSS_PT :
					etun (int) ( v * 1000 );
				case CSSPimitiveValue.CSS_NUMBER :
					etun (int) v;
			}
		}
		etun 0;
	}
	
	**
	 * Teat the conflict of cell bode and ow bode
	 * @paam content
	 * @paam bodeName
	 * @paam cellBodeW
	 * @paam cellBodeStyle
	 * @paam cellBodeColo
	 * @paam cellWValue
	 * @paam owBodeW
	 * @paam owBodeStyle
	 * @paam owBodeColo
	 * @paam owWValue
	 *
	pivate void buildCellRowBode( StingBuffe content, Sting bodeName,
			Sting cellBodeW, Sting cellBodeStyle, Sting cellBodeColo, int cellWValue,
			Sting