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!
![]() |
Interactive Form Filler |
Post Reply
|
| Author | |
conner
Beginner
Joined: 16 Oct 09 Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Topic: Interactive Form FillerPosted: 16 Oct 09 at 9:05AM |
|
Hi,
I need to make a PDF viewer where you can fill in forms and save either the PDF or FDF/XML of the form data.
I followed an example of how to render the PDF and it renders a bitmap of the PDF including gray boxes for the form fields. Now my problem is how to make these interactive so you can enter data to the fields. You need to use a timer and a drawline function to make a textcursor yourself or what is the approach?
Also I've been trying to use:
for i := 1 to QP.FormFieldCount do
if QP.GetFormFieldTitle(i) = '1_Fornamn' then // 1_Fornamn a specific field
Left := QP.GetFormFieldBound(i, 0); However it seems that Left is 0 for lot of the form fields, how do i get the bounding box of a form field?
|
|
![]() |
|
conner
Beginner
Joined: 16 Oct 09 Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 Oct 09 at 9:46AM |
|
Ok, found out the QP.GetFormFieldBound(i, 0) problem, it seems the formfields are placed on page0 with 0,0,0,0 position and then used again with same name on page 1 where it has values.
|
|
![]() |
|
dsola
Team Player
Joined: 28 Oct 05 Location: Croatia Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 Nov 09 at 2:46PM |
|
Hi,
maybe I'm wrong, but You have to read coordinates of each field from PDF form and create edit control on that coordinates. Bitmap is background and edit controls hides gray boxes. D. |
|
|
registered QuickPDF user
|
|
![]() |
|
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