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
public void calculateTopStyles( )
	{
		if ( styles.size( ) != 0 && istop )
		{
			Span span = (Span) spans.peek( );
			int start = ( (Integer) pos.peek( ) ).intValue( );
			applyContainerTopBorder( span, start );
			istop = false;
		}
	}
	public StyleEntry createHorizionStyle( int pos )
	{
		Span span = (Span) spans.peek( );
		StyleEntry cEntry = (StyleEntry) styles.peek( );
		StyleEntry entry = StyleBuilder.createEmptyStyleEntry( );
		StyleBuilder.mergeInheritableProp( cEntry, entry );
		if ( pos == span.getCol( ) )
		{
			StyleBuilder.applyLeftBorder( cEntry, entry );
		}
		if ( pos == span.getCol( ) + span.getColSpan( ) )
		{
			StyleBuilder.applyRightBorder( cEntry, entry );
		}
		return entry;
	}
	public void calculateBottomStyles( )
	{
		Span span = (Span) spans.pop( );
		StyleEntry entry = (StyleEntry) styles.pop( );