DefaultMutableTreeNode node) {
DefaultMutableTreeNode leaf;
PdfDictionary kid = outlines;
do {
PdfString title = (PdfString) PdfReader.getPdfObject(kid.get(PdfName.TITLE));
leaf = new BookmarksTreeNode(title, kid);
node.add(leaf);
PdfDictionary first = (PdfDictionary) PdfReader.getPdfObject(kid.get(PdfName.FIRST));
if (first != null) {
iterateOutlines(first, pdfreader, leaf);
} else {