boolean bold = false;
if (area.traitFontWeight().getNumericWeight()
>= Font.Weight.BOLD.getNumericWeight()) {
bold = true;
}
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);