public AnalyzePDF(String infile, PageProgressDialog progressbar) {
this.progressdialog = progressbar;
try {
reader = new PdfReader(infile);
root = new ObjectTreeNode("Document");
filenode = new FileTreeNode(infile, reader);
root.add(filenode);
} catch (IOException ex) {
}
pagecount = 0;
}