Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5200

Cache PageTree in PDFPrintable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.23
    • 2.0.24, 3.0.0 PDFBox
    • None

    Description

      Suggestion by valerybokov

      PDFPrintable.print (row 194). Suggestion: create a field instead of calling the method for document.getNumberOfPages(). Reason is TODO in PDDocument: REPLACE most calls to this method with BELOW method. Additionally check row 202. Maybe field PDPageTree will be better than current version.

      He's right, printing might take a very long time for huge files.

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: