pvginkel / PdfiumViewer

PDF viewer based on Google's PDFium.
Apache License 2.0
967 stars 418 forks source link

Editable PDF Support in PDFViewer #22

Open tigerclawn82 opened 9 years ago

tigerclawn82 commented 9 years ago

Hi,

I would like to know if there's any support for Editable PDF in PDFViewer, as i want to use the PDFViewer and PDF has editable fields which after filled will be saved.

And also, support for Signature is there?

Thanks

pvginkel commented 9 years ago

Can you provide a sample PDF so I can get this? I'm not sure whether I have time in soon to fix any issues but maybe I can have a look for you.

On Tue, May 12, 2015, 17:17 Waqas Ahmed notifications@github.com wrote:

Hi,

I would like to know if there's any support for Editable PDF in PDFViewer, as i want to use the PDFViewer and PDF has editable fields which after filled will be saved.

And also, support for Signature is there?

Thanks

— Reply to this email directly or view it on GitHub https://github.com/pvginkel/PdfiumViewer/issues/22.

tigerclawn82 commented 9 years ago

Hi, Thanks for your quick reply. i really appreciate that. Here is the pdf >> https://www.dropbox.com/s/ciwyn6e4w4x7qrx/NF-HIPPA.pdf?dl=0

If i open this pdf in Google Chrome, i am able to populate the fields. If you can point me to some direction, i can try to do it my own. I checked a ticket #22 in which functionality is extended, so if its possible with Pdfium i can expose it in the API.

Thanks

tigerclawn82 commented 9 years ago

Hi, Is there any update upon this? If you guide me to the documentation of pdfium, it would be great.

Thanks

pvginkel commented 9 years ago

I'm not sure what you're looking for. On https://github.com/pvginkel/PdfiumViewer you can find instructions on how to build pdfium. I'm not sure whether it's possible to run from source, but very likely it's not. I know there are some references to forms, also in PdfiumViewer but honestly I'm not sure whether the setup is correct at the moment. The changes may just come down to fixing the initialization routines.

For the editing capabilities I can probably have a look this weekend to see whether it's feasible to implement this. However I'm not sure whether it's also possible to take a signature. I've looked at the document you've provided. There is a signature field in it but it doesn't seem to be editable. How do you expect this to work?

Also, do you expect PdfiumViewer to be able to save the filled in form or is it enough if the filled in form can be printed?

tigerclawn82 commented 9 years ago

Hi, Thanks for your reply. Yes, i would like to use PdfiumViewer as pdf viewer in the application and signature, fields populate from users will be available. Also, after user make changes in the PDF, it will be saved.

Thanks

pvginkel commented 9 years ago

I will have a look how feasible this is and how much effort this will take with Pdfium.

On Wed, May 20, 2015, 14:25 Waqas Ahmed notifications@github.com wrote:

Hi, Thanks for your reply. Yes, i would like to use PdfiumViewer as pdf viewer in the application and signature, fields populate from users will be available. Also, after user make changes in the PDF, it will be saved.

Thanks

— Reply to this email directly or view it on GitHub https://github.com/pvginkel/PdfiumViewer/issues/22#issuecomment-103862079 .

pvginkel commented 9 years ago

I've had a look at this and it will take a considerable amount of time to implement this feature, especially if something like taking a signature is to be included (which doesn't seem to be supported). Maybe I'll pick this up at a later time, so I'll leave this issue open.

tigerclawn82 commented 9 years ago

Hi, Thanks for your feedback, I really appreciate that you had a look.

Thanks