[
https://issues.apache.org/jira/browse/PDFBOX-5200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-5200.
-------------------------------------
Resolution: Fixed
> Cache PageTree in PDFPrintable
> ------------------------------
>
> Key: PDFBOX-5200
> URL: https://issues.apache.org/jira/browse/PDFBOX-5200
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 2.0.23
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.24, 3.0.0 PDFBox
>
>
> Suggestion by valerybokov
> {quote}
> 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.
> {quote}
> He's right, printing might take a very long time for huge files.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]