- Posts: 7
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
how get Form from existing PDF-Document
IP: 192.168.0.71
8 years 9 months ago - 8 years 9 months ago #13227
by TeleSon
how get Form from existing PDF-Document was created by TeleSon
Hi,
i can't find possibility to get the form. i need it for filling out programmatically. i find only on document ExportForm and it get XML informations about form. but i don't need this informations. i need to fill out it!
can somebody help me? is it possible to do like this? i do it on the server with iText and it's easy. but i need it now on android.
Thanks.
b.r.
Tom
i can't find possibility to get the form. i need it for filling out programmatically. i find only on document ExportForm and it get XML informations about form. but i don't need this informations. i need to fill out it!
can somebody help me? is it possible to do like this? i do it on the server with iText and it's easy. but i need it now on android.
Thanks.
b.r.
Tom
Last edit: 8 years 9 months ago by TeleSon.
IP: 192.168.0.71
8 years 9 months ago #13228
by nermeen
Replied by nermeen on topic how get Form from existing PDF-Document
Dear Tom,
You can get/set form fields using the following methods in com.radaee.util.RadaeePDFManager:
You can get/set form fields using the following methods in com.radaee.util.RadaeePDFManager:
- getJsonFormFields()
- getJsonFormFieldsAtPage(pageno)
- setFormFieldsWithJSON()
IP: 192.168.0.71
8 years 9 months ago #13236
by TeleSon
Replied by TeleSon on topic how get Form from existing PDF-Document
Hi,
thanks, i had the old version 3.5, now I take 3.14, but: I but need only get the form fields but own values and close make the document flat (text from form will be printed to document and form will be removed) and save it as other file. I don't want to open document in any other activity! is this possible?
thanks, i had the old version 3.5, now I take 3.14, but: I but need only get the form fields but own values and close make the document flat (text from form will be printed to document and form will be removed) and save it as other file. I don't want to open document in any other activity! is this possible?
IP: 192.168.0.71
8 years 9 months ago #13253
by nermeen
Replied by nermeen on topic how get Form from existing PDF-Document
Dear Tom,
Yes, it's possible. you can use the same mechanism mentioned in the above methods (remove the json part if you do not need it). The only difference is that you need to open the document first, then call page.FlatAnnots and Document.Save after setting the values.
Yes, it's possible. you can use the same mechanism mentioned in the above methods (remove the json part if you do not need it). The only difference is that you need to open the document first, then call page.FlatAnnots and Document.Save after setting the values.
Time to create page: 0.450 seconds