Bug 307327 BIDI3.6:In-line component positioning problem in RTL Reports
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
}
			htmlEmitter.handleVerticalAlignEnd( foreign );
		}
		writer.closeTag( tagName );
		if ( isTemplate )
		{
			if ( wrapTemplateTable )
			{
				metadataEmitter.endWrapTable( foreign );
			}
			writer.closeTag( HTMLTags.TAG_DIV );
		}
	}
	
	
	private void outputHtmlText(IForeignContent foreign)
	{
		boolean bIndent = writer.isIndent( );
		writer.setIndent( false );
		Object rawValue = foreign.getRawValue( );
		String text = rawValue == null ? null : rawValue.toString( );
		Document doc = new TextParser( ).parse( text,
				TextParser.TEXT_TYPE_HTML );
		ReportDesignHandle design = (ReportDesignHandle) runnable
				.getDesignHandle( );
		HTMLProcessor htmlProcessor = new HTMLProcessor( design, reportContext
				.getAppContext( ) );
		HashMap styleMap = new HashMap( );
		Element body = null;
		if ( doc != null )