// Add two more character styles
LinkedList cs = stpa.getCharacterStyles();
// First char style is boring, and 21 long
TextPropCollection tpca = (TextPropCollection)cs.get(0);
tpca.updateTextSize(21);
// Second char style is coloured, 00 00 00 05, and 17 long
TextPropCollection tpcb = stpa.addCharacterTextPropCollection(17);
TextProp tpb = tpcb.addWithName("font.color");
tpb.setValue(0x05000000);