Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC:

Cordova - Save as not-fillable PDF in Cordova App 5 years 5 months ago #14203

  • Ferrarini
  • Ferrarini's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hi,
is it possible to re-save a fillable PDF as not fillable?
It's very important for me because when the Pdf is sent to my costumer, he must haven't possibility to modify any fields.

Regards,
Maurizio

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

Last edit: by Ferrarini.

Cordova - Save as not-fillable PDF in Cordova App 5 years 5 months ago #14204

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Dear Maurizio,

you can do it with the flatAnnots method, that performs a PDF's form flattering, but now it's not exposed in Cordova methods.
We're working to provide some new methods:
- flatAnnotAtPage: flattering of a single page
- flatAnnots: flattering of all pages
- saveDocumentAtPath: save the document in a new path

We will release the module update at the end of this week.

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

Cordova - Save as not-fillable PDF in Cordova App 5 years 5 months ago #14209

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Dear Maurizio,

we updated the cordova module.
Now you can use the new method flatAnnots on the current pdf instance (for example in didShowReader callback), to call the flattering feature, then you can save the pdf as new file with the saveDocumentToPath method and prevent any edit action.

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

Cordova - Save as not-fillable PDF in Cordova App 5 years 4 months ago #14210

  • Ferrarini
  • Ferrarini's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Thank you,
where do I could found documentation about it? For example.. How can I call saveDocumentToPath method?

Regards,
Maurizio

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

Cordova - Save as not-fillable PDF in Cordova App 5 years 4 months ago #14211

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Dear Ferrarini,
Here are new knowledge base articles about flatten annots and save document .

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

  • Page:
  • 1
Powered by Kunena Forum