Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
adding fill in fileds to existing pdf file |
Post Reply |
Author | |
Israel Shikler
Beginner Joined: 20 Mar 12 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 20 Mar 12 at 10:01AM |
I have a pdf file which I need to add fill in fields to(text).
How do accomplish this and save the file to the existing one? Can you provide code examples?
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi!
Here's the online reference with all form field functionalities: http://www.quickpdflibrary.com/help/quickpdf/FormFields.php How to create pdf forms with QuickPDF: http://www.quickpdflibrary.com/faq/how-do-i-create-pdf-forms-with-quick-pdf-library.php If you search in the FAQ with "form" you'll get many issues to read: http://www.quickpdflibrary.com/faq/index.php Here's a sample code regarding filling form fields: http://www.quickpdflibrary.com/faq/index.php Here's a sample about creating checkboxes: http://www.quickpdflibrary.com/faq/create-check-box-form-fields.php Cheers and welcome here, Ingo |
|
Israel Shikler
Beginner Joined: 20 Mar 12 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Hi Lingo,
Thanks for your reply.
Just to make things clear.
The task I need to accomplis is the following.
Open an existing Pdf file that does not contain any fill in fields.
Add fill in fileds to this file.
Save the file back.
That's all. I do not need to prgrammatically fill in the fileds!
What do I use to Open the file in the first time(what function).
Many thaks ,
Israel
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi!
Why not take a look into the start-up-tutorials? Check my links... where could be the tutorials? I'm wondering... i'm wondering... try LoadFromFile ;-) Your starting point writing something like "hello world" and save it as pdf: http://www.quickpdflibrary.com/help/getting-started.php http://www.quickpdflibrary.com/tutorials/index.php For LoadFromFile-samples you can use the search-functionality here (above, right). A good start for you should be taking the developer guide: http://www.quickpdflibrary.com/docs/Quick%20PDF%20Library%208%20Developer%20Guide.pdf Cheers, Ingo Edited by Ingo - 21 Mar 12 at 7:55PM |
|
AndrewC
Moderator Group Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
|
This code creates and fills in form fields
int iDf1 = QP.NewFormField("First Name", 1); // Create the field
There are many other FormField funtions available documented at http://www.quickpdflibrary.com/help/quickpdf/FormFields.php eg SetFormFieldAlignment SetFormFieldAnnotFlags SetFormFieldBackgroundColor SetFormFieldBackgroundColorCMYK SetFormFieldBackgroundColorSep SetFormFieldBorderColor SetFormFieldBorderColorCMYK SetFormFieldBorderColorSep SetFormFieldBorderStyle SetFormFieldBounds SetFormFieldCalcOrder SetFormFieldCaption SetFormFieldCheckStyle SetFormFieldChildTitle SetFormFieldChoiceType SetFormFieldColor SetFormFieldColorCMYK SetFormFieldColorSep SetFormFieldComb SetFormFieldDefaultValue SetFormFieldDescription SetFormFieldFlags SetFormFieldFont SetFormFieldHighlightMode SetFormFieldIcon SetFormFieldIconStyle SetFormFieldMaxLen SetFormFieldNoExport SetFormFieldOptional SetFormFieldPage SetFormFieldPrintable SetFormFieldReadOnly SetFormFieldRequired SetFormFieldRotation SetFormFieldStandardFont SetFormFieldSubmitAction SetFormFieldTabOrder SetFormFieldTextFlags SetFormFieldTextSize SetFormFieldValue SetFormFieldValueByTitle SetFormFieldVisible Andrew.
|
|
Israel Shikler
Beginner Joined: 20 Mar 12 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Hi Ingo.
I did take your avise about looking into the start-up-tutorials. Well I have made a nice progress and now I have a pdf file with fill in fileds. However , I now face another issue: when I manually fill in the fields on the PDF file, Acrobat reader , won't let me save this file ,but only the original PDF file without the fill in fileds. The whole idea is to enable people to fill in those fields, save the pdf file, so it can be emailed. How do I go around this hurdle? Many Thanks in advance , Israel
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Modifying an acrobat-made form will
let you stumble from one hole to the other :-( Please read my blog here: http://pdfcomments.blogspot.de/2009/06/pdf-and-forms.html It's not a real answer to your probs but it gives you an idea about the probs that will raise ;-) Cheers, Ingo |
|
Israel Shikler
Beginner Joined: 20 Mar 12 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Hi Ingo,
Firstly thanks a lot for your answer, although it put me on a dead end? Any idea , how can go I around it and still use QuickPDF and other progrmming tool. The task i have to accomplish is as follow: 1) Adding fill in fields to an existing PDF file. 2) Email this PDF file , so it will be manually filled in with data by the recepient, who then will email it back to me. Any idea, how we can overcome the obstalces presented by Adobe? I am not looking for any code advise, but rather ideas on how to go around it. Thanks in advance, Israel
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi!
If the form is half ready made by adobe products ... simply forget it! If it's completely your own form ... simply do it! Cheers, Ingo |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store