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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Interactive Form Filler
  FAQ FAQ  Forum Search   Register Register  Login Login

Interactive Form Filler

 Post Reply Post Reply
Author
Message
conner View Drop Down
Beginner
Beginner


Joined: 16 Oct 09
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote conner Quote  Post ReplyReply Direct Link To This Post Topic: Interactive Form Filler
    Posted: 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?
Back to Top
conner View Drop Down
Beginner
Beginner


Joined: 16 Oct 09
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote conner Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
dsola View Drop Down
Team Player
Team Player


Joined: 28 Oct 05
Location: Croatia
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote dsola Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store