Bug 180814 Viewe as XLS does not work with non English locale.
Viewe as XLS does not work with non English locale. Please check the attached screen shot for detail. if the eclipse is started with -nl en_US option, then the same operation works. To reproduce: 1. Start the eclipse with -nl zn_CN (or ja_JP) locale. 2. Open tha attached JPN_FLAT_FILE.rptdesign. 3. Preview it as XLS.
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/StyleEngine.java
private static int ID = 0;
	private Stack styles = new Stack( );
	private Stack spans = new Stack( );
	private Stack pos = new Stack( );
	private Hashtable style2id = new Hashtable( );
	
	private ListBuffer dataMap = null;
	private boolean istop = true;
	/**
	 * 
	 * @param dataMap
	 *            layout data
	 * @return a StyleEngine instance
	 */
	public static StyleEngine createStyleEngine( ListBuffer dataMap )
	{
		engine.release( );
		engine.setDataMap( dataMap );
		return engine;
	}
	private StyleEngine( )
	{
	}
	public void addContainerStyle( IStyle style, Span span, int start )
	{
		StyleEntry entry = initStyle( style, span );
		spans.push( span );
		styles.push( entry );
		pos.push( new Integer( start ) );
	}