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

Cache PageTree in PDFPrintable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.23
    • Fix Version/s: 2.0.24, 3.0.0 PDFBox
    • Component/s: None
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: