result.write(intToByteArray(this.listID));
result.write(CLOSE_GROUP);
this.document.outputDebugLinebreak(result);
if(items != null) {
for(int i = 0; i < items.size(); i++) {
RtfElement rtfElement = (RtfElement) items.get(i);
if(rtfElement instanceof RtfList) {
RtfList rl = (RtfList)rtfElement;
rl.writeDefinition(result);
break;
} else if(rtfElement instanceof RtfListItem) {