Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF

TOPIC:

Compiling PDF forms 9 years 9 months ago #6538

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
you can share link here.
or you can send mail to This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Compiling PDF forms 9 years 9 months ago #6540

  • noberasco
  • noberasco's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 48
  • Thank you received: 0
Hi,

you are correct. Silly me for not thinking about posting a link to the document.

Here it is:
dl.dropboxusercontent.com/u/7172743/TEST.pdf

In the mean while, I did some more testing.
I'll recap my latest (and hopefully last) round of questions here.

For some reason in this particular PDF form values inputed into text fields are not visible after editing. The values are in place (if I re-edit the field, I see the value, same if I export the form data using ExportForm()), but I cannot see them.

This form has constraints for some text fields (some need entering a date, other need entering a number). If I edit the form using Adobe Reader for Android, it respects the constraints. For instance, if I tap a form field that expects a date, I get a date picker. Does your library support the same? Or, is it somehow possible to retrieve the field constraints so that I can choose what editing UI elements to show the user?

Is is possible to save the edited PDF as a no-longer-editable PDF document? My customer requirement is that, after editing the PDF with our application, the PDF must be sent to a third party as a non-editable PDF. This means I either need to make it non-editable, or protect document editing with a password.

You mentioned that the on-screen keyboard should appear automatically when I tap a text field. In my own experience this never happens, neither in your demo UI nor in my own code. In fact I trigger the keyboard manually in my OnAnnotClicked() implementation. Maybe this is device specific? Can you give me a shortlist of devices where this has been tested?

Please Log in or Create an account to join the conversation.

Compiling PDF forms 9 years 9 months ago #6554

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
new method: Annotation.GetEditTextFormat shall released at next version.
which can help you to check format of editbox.

Please Log in or Create an account to join the conversation.

Compiling PDF forms 9 years 9 months ago #6558

  • noberasco
  • noberasco's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 48
  • Thank you received: 0
Hi,

thanks for your continued support.
I'll give GetEditTextFormat() as soon as it is available.

Do you also have an answer to my other questions?
These are the ones that bother me most:
- invisible text in text fields
- save PDF in a non-editable form

Regards,
Michele

Please Log in or Create an account to join the conversation.

Compiling PDF forms 9 years 9 months ago #6559

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
about non-editable form:
you can invoke Document.GetPerm() to check editable, this method used for signatured document.
demo project does not check it.

others:
you can invoke Document.GetPermission to check editable for those encrypted PDF.

Please Log in or Create an account to join the conversation.

Compiling PDF forms 9 years 9 months ago #6561

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
A new Version 2.9.11beta5 has been published.

2.9.11beta5
native library
- NEW new method Annotation.GetEditTextFormat()
- FIX a crashed issue while selecting texts

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum