PdfOutlineItem pdfOutline = null;
pdfOutline = parent.createPdfOutlineItem(area.getTitleText(),
area.getDestination(), color, italic, bold);
// Recursively handle child bookmarks
for (int i = 0; i < area.getChildren().size(); i++) {
final Bookmark child = area.getChildren().get(i);
renderBookmark(child, pdfOutline);
}
}