-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resulting HTML does not include PDF form fields #17
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code:
`
PDFDomTreeConfig settings = PDFDomTreeConfig.createDefaultConfig();
settings.setFontHandler(PDFDomTreeConfig.embedAsBase64());
settings.setImageHandler(PDFDomTreeConfig.embedAsBase64());
PDFDomTree pdfDomTree = new PDFDomTree(settings);
try (PDDocument pdf = PDDocument.load(inputStream)) {
try (PrintWriter output = new PrintWriter(outputPath.toFile(), "utf-8")) {
pdfDomTree.writeText(pdf, output);
}
}
`
Input:
sample-form.pdf
Output: does not include any html fields
The text was updated successfully, but these errors were encountered: