[
https://issues.apache.org/jira/browse/PDFBOX-5897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr closed PDFBOX-5897.
-----------------------------------
Assignee: Tilman Hausherr
Resolution: Won't Do
Closing this, but I hope I could help a bit, especially with the last piece of
code.
> Can't create an empty PDDocument with specific PDF version
> ----------------------------------------------------------
>
> Key: PDFBOX-5897
> URL: https://issues.apache.org/jira/browse/PDFBOX-5897
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 3.0.3 PDFBox
> Reporter: Asger Hautop Drewsen
> Assignee: Tilman Hausherr
> Priority: Major
> Attachments: empty.pdf
>
>
> Currently `new PDDocument()` creates a version 1.4 PDF.
> Changing the version afterwards with `.setVersion(...)` only works if the
> version is greater than or equal to 1.4.
> It would be nice if there was a constructor for `PDDocument` where you could
> specify the PDF version especially since you can't downgrade it to a lower
> version after it has been created.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]