Print Page | Close Window

Filling out form with security

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1480
Printed Date: 04 Apr 26 at 5:09PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Filling out form with security
Posted By: ikremer
Subject: Filling out form with security
Date Posted: 09 Jun 10 at 10:37PM
I have 4 PDF files that I need to be able to fill out and save/print.

2 are open with no security (should be easy)
2 have Password Security.

These are the Security Settings
Security Method: Password Security
Document Open Password: No
Permissions Password: Yes
Printing: High Resolution
Changing the Document: Not Allowed
Commenting: Allowed
Form Field Fill-in or Signing: Allowed
Document Assembly: Not Allowed
Content Copying: Not Allowed
Content Accessibility Enabled: Not Allowed
Page Extraction: Not Allowed

When I do a savetofile() it creates a empty txt file and a blank pdf document. 

Is there another method to do this? The Pdf supplier wont unlock the PDF. We don't have the password to unlock it on our own. I have the right permissions to open it up in reader and fill out the fields then save as. I just want to do this programmatically.

Side note.. The other file that is secured does not actually have fields, so I also need to figure out a way to just paint in the values into the pdf. We might drop support on that file if its too hard to do.



Replies:
Posted By: Ingo
Date Posted: 10 Jun 10 at 6:47AM
Hi!

You should use the (advanced) search-function above with SetNeedAppearance:
http://www.quickpdf.org/forum/search_results_posts.asp?SearchID=20100610064249&KW=SetNeedAppearance

The other point:
Check with the textextraction-functionality and option 3 (=with positions and more) where the text is where you want to insert/draw something. Keep the positions, do some modifications with the position and draw your strings...

Before doing this you should use the unencryption after load.

BTW: Any questions about coding... use the search function here... use the help-pages on the official product website.
 
Cheers and welcome here,
Ingo
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk