if(element instanceof ListItem) {
ll.setAlignment(((ListItem) element).getAlignment());
}
RtfBasicElement[] rtfElements = doc.getMapper().mapElement(element);
for(int j = 0; j < rtfElements.length; j++) {
RtfBasicElement rtfElement = rtfElements[j];
if(rtfElement instanceof RtfList) {
((RtfList) rtfElement).setParentList(this);
} else if(rtfElement instanceof RtfListItem) {
((RtfListItem) rtfElement).setParent(ll);
}