You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/24 15:36:00 UTC
[jira] [Commented] (PDFBOX-5200) Cache PageTree in PDFPrintable
[ https://issues.apache.org/jira/browse/PDFBOX-5200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17350491#comment-17350491 ]
ASF subversion and git services commented on PDFBOX-5200:
---------------------------------------------------------
Commit 1890164 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1890164 ]
PDFBOX-5200: cache pageTree, as suggested by valerybokov
> 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 could take a very long time for huge files.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org