Skip to content
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

Open
jezerinac opened this issue Sep 6, 2016 · 5 comments
Open

Resulting HTML does not include PDF form fields #17

jezerinac opened this issue Sep 6, 2016 · 5 comments

Comments

@jezerinac
Copy link

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

@m-abboud
Copy link
Contributor

I'm starting work on this today (if anyone was asking)

@radkovo
Copy link
Owner

radkovo commented Sep 18, 2016

That's great news! I wouldn't have time to take a look at this in a near future. Many thanks!

@AdeshAtole
Copy link

AdeshAtole commented Aug 9, 2018

@m-abboud Is this open to work on?
@radkovo

@radkovo
Copy link
Owner

radkovo commented Aug 13, 2018

Yes, go ahead (if there are no comments from @m-abboud )

@AdeshAtole
Copy link

@radkovo Any contributing guidelines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants