OdfFileDom dom = (OdfFileDom) this.getOwnerDocument();
int currencyPos = text.indexOf(currencySymbol);
if (currencyPos >= 0) {
emitText(text.substring(0, currencyPos));
NumberCurrencySymbolElement cSymbol = new NumberCurrencySymbolElement(dom);
cSymbol.appendChild(dom.createTextNode(currencySymbol));
this.appendChild(cSymbol);
emitText(text.substring(currencyPos + currencySymbol.length()));
} else {
emitText(text);
}