Supplying the PDFDocument object to the getText(...) method in order to
obtain the Catalog object that is required by this version of Xpdf.