}
@Override
protected DocumentInfo getDocumentInfo() throws ThumbnailCreationException {
File inputFile = getInputFile();
DocumentInfo documentInfo = new DocumentInfo();
pageTree = pdfDoc.getPageTree();
documentInfo.getDocumentMetaData().setCreator(pdfDoc.getCreator());
documentInfo.setFileName(inputFile.getAbsolutePath());
documentInfo.setPages(pageTree.getCount());
documentInfo.getDocumentMetaData().setAuthor(pdfDoc.getAuthor());
documentInfo.setPdfVersion(pdfDoc.cosGetDoc().stGetDoc().getDocType().getVersion());
documentInfo.setEncrypted(pdfDoc.isEncrypted());
documentInfo.getDocumentMetaData().setTitle(pdfDoc.getTitle());
documentInfo.getDocumentMetaData().setProducer(pdfDoc.getProducer());
return documentInfo;
}