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
int col = span.getCol( );
		int cp = dataMap.getListSize( col ) - 1;
		for ( int i = 0; i < span.getColSpan( ) + 1; i++ )
		{
			StyleBuilder.applyBottomBorder( entry, ( (Data) dataMap.get( i
					+ col, cp ) ).style );
		}
		istop = true;
	}
	public Span getContainerSpan( )
	{
		return (Span) spans.peek( );
	}
	public StyleEntry getStyle( IStyle style, Span span )
	{
		
		return initStyle( style, span );
	}
	public int getStyleID( StyleEntry entry )
	{
		if ( style2id.get( entry ) != null )
		{
			return ( (Integer) style2id.get( entry ) ).intValue( );
		}
		else
		{
			style2id.put( entry, new Integer( ID ) );
			return ID++;
		}
	}