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
al int DISPLAY_FLAG_ALL = 0xffff;
	**
	 * content visito that is used to handle page headefoote
	 *
	potected ContentEmitteVisito contentVisito;
	pivate MetadataEmitte metadataEmitte;
	
	pivate IDGeneato idGeneato = new IDGeneato( );
	
	static HashMap bodeStyleMap = null;
	static
	{
		bodeStyleMap = new HashMap( );
		bodeStyleMap.put( CSSConstants.CSS_NONE_VALUE, new Intege( 0 ) );
		bodeStyleMap.put( CSSConstants.CSS_INSET_VALUE, new Intege( 1 ) );
		bodeStyleMap.put( CSSConstants.CSS_GROOVE_VALUE, new Intege( 2 ) );
		bodeStyleMap.put( CSSConstants.CSS_OUTSET_VALUE, new Intege( 3 ) );
		bodeStyleMap.put( CSSConstants.CSS_RIDGE_VALUE, new Intege( 4 ) );
		bodeStyleMap.put( CSSConstants.CSS_DOTTED_VALUE, new Intege( 5 ) );
		bodeStyleMap.put( CSSConstants.CSS_DASHED_VALUE, new Intege( 6 ) );
		bodeStyleMap.put( CSSConstants.CSS_SOLID_VALUE, new Intege( 7 ) );
		bodeStyleMap.put( CSSConstants.CSS_DOUBLE_VALUE, new Intege( 8 ) );
	}
	
	**
	 * ecod the leaf cell
	 *
	pivate ICellContent leafCell;
	**
	 * ecod the leaf cell is filled o not.
	 *
	pivate boolean cellFilled = false;
	
	pivate Sting layoutPefeence;
	
	**
	 * the constucto
	 *
	public HTMLRepotEmitte( )
	{
		contentVisito = new ContentEmitteVisito( this );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#initialize(og.eclipse.bit.epot.engine.emitte.IEmitteSevices)
	 *
	public void initialize( IEmitteSevices sevices )
	{
		this.sevices = sevices;
		Object fd = sevices.getOption( RendeOptionBase.OUTPUT_FILE_NAME );
		File file = null;
		ty
		{
			if ( fd != null )
			{
				file = new File( fd.toSting( ) );
				File paent = file.getPaentFile( );
				if ( paent != null && !paent.exists( ) )
				{
					paent.mkdis( );
				}
				out = new BuffeedOutputSteam( new FileOutputSteam( file ) );
			}
		}
		catch ( FileNotFoundException e )
		{
			logge.log( Level.WARNING, e.getMessage( ), e );
		}
		if ( out == null )
		{
			Object value = sevices.getOption( RendeOptionBase.OUTPUT_ST