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

Acroforms vs. XFA Forms #18

Open
Tadelsucht opened this issue Feb 13, 2021 · 3 comments
Open

Acroforms vs. XFA Forms #18

Tadelsucht opened this issue Feb 13, 2021 · 3 comments

Comments

@Tadelsucht
Copy link
Owner

System.NullReferenceException: Object reference not set to an instance of an object.
at BulkPDF.PDF.SaveFilledPDF(String filePath, Boolean finalize)
at BulkPDF.PDFFiller.CreateFiles(PDF pdf, Boolean finalize, IDataSource dataSource, Dictionary`2 pdfFields, String outputDir, DelGetFilename GetFilename, DelSetPercent setPercent, DelIsAborted isAborted)
at BulkPDF.MainForm.backGroundWorker_DoWork(Object sender, DoWorkEventArgs e)

If an error like this occures, your pdf must be converted to a BulkPDF compatible specification. For this just upload the file to https://www.pdfescape.com/ , save it there and download it again, without changing anything. The new downloaded file is now compatible with BulkPDF and your configuration should work nicely.

@ifuchs
Copy link

ifuchs commented Feb 6, 2023

I have a form which is in XFA format and (as expected) if I try to use it, BulkPDF says it will create 0 pdf files. I tried uploading and downloading from pdfescape.com but the format did not appear to change and I still get that there are 0 forms to fillout. I assume this problem is related to using a pdf in xfa format but perhaps it is something else?

Can anyone help me?

@ifuchs
Copy link

ifuchs commented Feb 6, 2023

I tried with an Acroform and I get the same result

@ifuchs
Copy link

ifuchs commented Feb 6, 2023

Found the problem. It was not the PDF, it was the spreadsheet. There was a blank line between the header line and the data thus resulting in the program seeing no data. It wold be nice if you could select a range to be used rather than the entire column.

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

2 participants