LOG.info("setCurrencyLocale");
String language = "ko";
String country = "KR";
OdfNumberCurrencyStyle instance = new OdfNumberCurrencyStyle(dom,
"\u20a9", "\u20a9#,##0.00", "kstyle"); // korean Won
NumberCurrencySymbolElement cSymbol;
instance.setCurrencyLocale(language,
country);
NodeList list = instance.getElementsByTagNameNS(
OdfDocumentNamespace.NUMBER.getUri(), "currency-symbol");
Assert.assertTrue("Has currency symbol", list.getLength() > 0);
cSymbol = (NumberCurrencySymbolElement) list.item(0);
Assert.assertEquals(language, cSymbol.getNumberLanguageAttribute());
Assert.assertEquals(country, cSymbol.getNumberCountryAttribute());
}