You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2021/05/24 15:36:00 UTC
[jira] [Updated] (PDFBOX-5200) Cache PageTree in PDFPrintable
[ https://issues.apache.org/jira/browse/PDFBOX-5200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-5200:
------------------------------------
Description:
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.
was:
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.
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org