PictureCode pictureCode = pictureCodes.get(index - 1);
PictureCode previousPictureCode = null;
String displayText = null;
if (pictureCode.isActionCode()) {
PictureCodeType actionCodeType = pictureCode.getType();
StringBuilder displayTextBuf = new StringBuilder(" ");
displayTextBuf.append(actionCodeType.getDisplayableText());
displayText = displayTextBuf.toString();
} else {
StringBuilder displayTextBuf = null;
int code = pictureCode.getCode();
switch (pictureCode.getType()) {