Error in Class CurrencyStyle
Status: Beta
Brought to you by:
mtschulz
There is a bug in method private void appendCurrencySymbol(StringBuffer) of class CurrencyStyle. Generated files can not be opened by OpenOffice. This is caused by an invald styles.xml. The currency symbol is surrounded by double-quotes (")
<number:currency-symbol >"€"</number:currency-symbol>
which is wrong, it must be
<number:currency-symbol >€</number:currency-symbol>
In the class CurrencyStyle the line
sb.append("\"" + this.getCurrencySymbol() + "\"</number:currency-symbol>");
must be
sb.append("" + this.getCurrencySymbol() + "</number:currency-symbol>");
corrected version