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
/*******************************************************************************
 * Copyright (c) 2006 Inetsoft Technology Corp.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Inetsoft Technology Corp  - Implementation
 *******************************************************************************/
package org.eclipse.birt.report.engine.emitter.excel;
import java.util.Hashtable;
import java.util.Map;
import java.util.Stack;
import org.eclipse.birt.report.engine.content.IStyle;
/**
 * This class is used to caculate styles for Excel.
 * 
 * 
 */
public class StyleEngine implements IListVisitor
{
	private static StyleEngine engine = new StyleEngine( );