You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PDF can be modified to set its bookmarks to "Fit width".
Actual Behavior
A RuntimeException is thrown:
java.lang.RuntimeException: Invalid PDF version format: '^(\d+)\.(\d+)$' pattern expected.
at org.pdfclown.Version.get(Version.java:72)
at org.pdfclown.Version.get(Version.java:62)
at org.pdfclown.documents.Document.getVersion(Document.java:539)
at org.pdfclown.objects.PdfObjectWrapper.checkCompatibility(PdfObjectWrapper.java:358)
at org.pdfclown.documents.Document.access$1(Document.java:1)
at org.pdfclown.documents.Document$Configuration.setXrefMode(Document.java:166)
at org.pdfclown.files.File.<init>(File.java:192)
at org.pdfclown.files.File.<init>(File.java:171)
at com.github.beatngu13.pdfzoomwizard.core.Wizard.modifyFile(Wizard.java:132)
Steps to Reproduce
If possible, please provide a sample PDF and describe the steps to reproduce the behavior:
Select the aforementioned PDF
Uncheck "Copy"
Select "Fit width"
Click on "Run"
"Success" is reported, although the PDF is not modified
The log file shows a RuntimeException is thrown
Debugging shows that the PDF version 1.5 is converted to 1#2E5, which yields the exception in org.pdfclown.Version.
Expected Behavior
This PDF can be modified to set its bookmarks to "Fit width".
Actual Behavior
A
RuntimeException
is thrown:Steps to Reproduce
If possible, please provide a sample PDF and describe the steps to reproduce the behavior:
RuntimeException
is thrownDebugging shows that the PDF version 1.5 is converted to 1#2E5, which yields the exception in
org.pdfclown.Version
.Log
log.txt
Environment
The text was updated successfully, but these errors were encountered: