Extracting combobox display data from fdf file using iText - pdf

I need to read the fdf file to get the list options (via getListOptionDisplay) for a combo box, but when I invoke the getAcroFields method on the fdfReader, the fields come back as empty. I'm using an older version (2.1.2), any suggestions or code samples?

Figured it out. I couldnt use the inherited methods, but I reviewed the fdfReader object in the debugger and was able to extract the information.

Related

Filling PDF form using Select.Pdf

I'm trying to fill out a form using Select.Pdf .NET package. Although I've successfully filled a couple of forms, there is a one, which I can't fill.
Here is the link - https://www.state.sd.us/eforms/secure/eforms/E1830V2-WCFRI.pdf
When I try to set some textbox text and the save it it just remains blank. Maybe someone has experience in both PDF and using Select.Pdf, so you could help me.
Thanks!
The PDF in question uses a document level JavaScript which calls resetForm();.
That's where the fields are reset to their default values.

pdf table to excel in Automation anywhere

I am trying to get PDF tables in excel for further processing in Automation anywhere.I tried it like converting PDF to text and then to excel but it not working as required.
Please suggest if anyone did this.
Thanks all who replied and tried to help.
But, i got the solution as there is bot already for this in botstore of AA and we can use it.
We can use this metabot and logic to perform action.
PFB link for the same:
https://botstore.automationanywhere.com/bot/pdf-to-excel/
I think you can use OCR inbuild tool or PDF read tools and take those data items into the variables. And then try to use keystrokes (or other) to add those variables as text in textfile. As well as add those items to the excel sheet. try it.

Using a GoogleSpreadsheet to fill in a PDF form

I have a very specific question and I would be extremely happy if anybody has any guess on how to solve it. I have: 1.- a PDF form which I have not created myself. 2.- a GoogleSpreadsheet created by myself.
Now the question is: is there any way I can fill in the PDF form using the information in the GoogleSpreadsheet, taking into account that this process should be activated from the GoogleSpreadsheet (since the PDF form is not mine)?
Best regards and thanks so much for everyone's input!
It depends.
You would need edit access to the PDF form, in order to get the field names. With that information, you could create a FDF (Forms Data Format, a PDF-related file format for data, using PDF syntax) file from the Google spreadsheet, which does refer to the PDF form as a base PDF. You then could open that FDF from the spreadsheet, and it should, if your webbrowser supports the Acrobat browser plug-in, grab the base PDF and populate it.
If you can not get the opening from the spreadsheet to work, download the FDF file and open it in Acrobat/Reader, or open the base form in Acrobat/Reader and import the data from the FDF file.

Creating read-only Microsoft Word file using VB.net

I am trying to create a Microsoft Word file in VB.net which is read only.
My aim is that user will input the data in a Windows form, after pressing export button it'll get exported to a Word document. But here's a twist: I want this Word file to be read only.
Is there any option to do this? I have tried exporting through Crystal Report, but its still editable.
Any help would be appreciated.
You can use the File.SetAttributes method for that, I think. Check the MSDN site.

web based form to collect data and populate to a fillable PDF

Is there a script that anyone can suggest that would allow me to create a HTML or PHP web based form to collect data and save that data. the call the data to be populated in a fillable pdf?
If you have an existing PDF that you want to populate, and that PDF just has text fields (no checkboxes or radio buttons) then CAM::PDF may be able to help you. You can use it as a Perl library directly, or use its command-line interface. CAM::PDF is not useful for generating PDFs from scratch, however. Furthermore, if you have embedded fonts, then you need to ensure that all of the characters you plan to insert are represented in the embedded font.
Use a normal web page to get the data. If not sure how to do it, look for "php forms" on google, there are plenty of tutorials.
Then use a php pdf generator, like this one, to create the PDF file. If you look hard enough, you will probably find a pdf generator that will let you use a template with placeholders where the entered data should be.