ArrayList texts = (ArrayList) dt.getObjects();
Iterator textIt = texts.iterator();
while (textIt.hasNext()) {
Object nextText = textIt.next();
if (nextText instanceof FSText) {
FSText ft = (FSText) nextText;
ArrayList chars = ft.getCharacters();
Iterator charIt = chars.iterator();
while (charIt.hasNext()) {
FSCharacter fsChar = (FSCharacter) charIt.next();
sb.append((char) fsChar.getGlyphIndex());
}