Original File Name
Spoof the filename of the document being converted. This setting is useful when the filename is not specified such as when converting from InputStream or byte array, or when the filename has been sanitized.
This value controls the following:
- The name of the output directory (sanitized)
- The title used by the IDRViewer (when a title is not defined within the PDF file)
- In FormVu, the filename used when resaving the form as PDF
Expected values:
- Non-null alphanumeric string
Default: unset
Since: 2023.06
Usage Examples
Command Line
-Dorg.jpedal.pdf2html.originalFileName="filename.pdf"
Cloud
{ "org.jpedal.pdf2html.originalFileName": "filename.pdf" }
Java
conversionOptions.setOriginalFileName("filename.pdf");