_charAtom = new TextCharsAtom(); _charAtom.setText(s);
if (byteAtom != null || charAtom == null) { oldRecord = byteAtom; charAtom = new TextCharsAtom();
public TextRun createTextRun(){ _txtbox = getEscherTextboxWrapper(); if(_txtbox == null) _txtbox = new EscherTextboxWrapper(); _txtrun = getTextRun(); if(_txtrun == null){ TextHeaderAtom tha = new TextHeaderAtom(); tha.setParentRecord(_txtbox); _txtbox.appendChildRecord(tha); TextCharsAtom tca = new TextCharsAtom(); _txtbox.appendChildRecord(tca); StyleTextPropAtom sta = new StyleTextPropAtom(0); _txtbox.appendChildRecord(sta); _txtrun = new TextRun(tha,tca,sta); _txtrun._records = new Record[]{tha, tca, sta}; _txtrun.setText(""); _escherContainer.addChildRecord(_txtbox.getEscherRecord()); setDefaultTextProperties(_txtrun); } return _txtrun; }