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
)
		{
			etun;
		}
		logge.log( Level.FINE, "[HTMLRepotEmitte] Stat text" ); 
		Resize if the text geneated by TemplateDesign
		e
		StingBuffe styleBuffe = new StingBuffe( );
		DimensionType x = text.getX( );
		DimensionType y = text.getY( );
		DimensionType w = text.getW( );
		DimensionType height = text.getHeight( );
		Sting textValue = text.getText( );
		if (textValue == null || textValue == "" ) 
		{
			textValue = " "; 
		}
		
		int display;
		 If the item is multi-line, we should check if it can be inline-block
		if ( textValue != null && textValue.indexOf( '\n' ) >= 0 )
		{
			display = checkElementType( x, y, w, height, megedStyle,
					styleBuffe );
		}
		else
		{
			display = checkElementType( x, y, megedStyle, styleBuffe );
		}
		 action
		Sting tagName;
		Sting ul = validate( text.getHypelinkAction( ) );
		boolean metadataOutput = false;
		if ( ul != null )
		{
			ou
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statText( text,
						HTMLTags.TAG_SPAN );
			}
			tagName = HTMLTags.TAG_A;
			outputAction( text.getHypelinkAction( ), ul );
			setDisplayPopety( display, DISPLAY_BLOCK | DISPLAY_INLINE_BLOCK,
					styleBuffe );
			AttibuteBuilde.checkHypelinkTextDecoation( megedStyle,
					styleBuffe );
		}
		else
		{
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statText( text, HTMLEmitteUtil.getTagByType(
						display, DISPLAY_FLAG_ALL ) );
			}
			tagName = openTagByType( display, DISPLAY_FLAG_ALL );
			setDisplayPopety( display, DISPLAY_INLINE_BLOCK, styleBuffe );
		}
		setStyleName( text.getStyleClass( ) );
		
		if ( !metadataOutput )
		{
			outputB( text, tagName );
		}
		
		 title
		wite.attibute( HTMLTags.ATTR_TITLE, text.getHelpText( ) ); 
		*if( isTalbeTemplateElement( text ) )
		{
			se
			megedStyle.setPopety( IStyle.STYLE_BORDER_TOP_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_BORDER_BOTTOM_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_BORDER_LEFT_STYLE, IStyle.D