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 - XFA-Functions
  FAQ FAQ  Forum Search   Register Register  Login Login

XFA-Functions

 Post Reply Post Reply
Author
Message Reverse Sort Order
deabrew View Drop Down
Newbie
Newbie
Avatar

Joined: 19 Jan 09
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote deabrew Quote  Post ReplyReply Direct Link To This Post Topic: XFA-Functions
    Posted: 06 Oct 09 at 7:21AM
We'll look at this further internally, thanks for pointing this out...
Back to Top
DELBEKE View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert
Avatar

Joined: 31 Oct 05
Location: France
Status: Offline
Points: 151
Post Options Post Options   Thanks (0) Thanks(0)   Quote DELBEKE Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jul 09 at 12:34PM
Whitghout loading a pdf file, Qp.GetXFAFormFieldCount() return 1. I think it's a bug
Back to Top
mlange View Drop Down
Beginner
Beginner


Joined: 21 Jul 09
Location: Germany
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlange Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jul 09 at 9:28AM
Another Question: There are only two fields in the pdf-file. Why does the function returns 3?
Back to Top
mlange View Drop Down
Beginner
Beginner


Joined: 21 Jul 09
Location: Germany
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlange Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jul 09 at 9:26AM
Ty for the reply.

I have tried the other declaration also. But no success. Btw, in the reference guide, the dll-version of 7.14 returns an integer...
Back to Top
DELBEKE View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert
Avatar

Joined: 31 Oct 05
Location: France
Status: Offline
Points: 151
Post Options Post Options   Thanks (0) Thanks(0)   Quote DELBEKE Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jul 09 at 9:00AM
Hi mlange
 
I have tried the activeX version and it works fine for me, i got 3 in fcountint.
the only change i've done is to dim fcountInt  as a long
 
Option Explicit

Private Sub Command1_Click()
Dim Qp As Object
Dim X As Long
Dim fcountInt As Long
    Set Qp = CreateObject("QuickPDFAX0714.PDFLibrary")
    X = Qp.UnlockKey("xxxx")
   
    X = Qp.LoadFromFile("C:\PdfVisu\PdfTest\AFX\Designer71.pdf")
    fcountInt = Qp.GetXFAFormFieldCount()
  MsgBox fcountInt
End Sub
Back to Top
mlange View Drop Down
Beginner
Beginner


Joined: 21 Jul 09
Location: Germany
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlange Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jul 09 at 8:41AM
Hi Rowan, ty for you reply.

Ok, for further investigatins here is the Code and the file:

1. Code
    Dim x As Long
    Dim fcountInt As Integer
    Dim fcountlong As Long
   

    ' ########################
    ' Try with the DLL-Version
    ' ########################
   
    Dim inst As Long
    inst = QuickPDFCreateLibrary()
    x = QuickPDFUnlockKey(inst, "my key")
    x = QuickPDFLoadFromFile(inst, "Designer71.pdf")
    fcountlong = QuickPDFGetXFAFormFieldCount(inst)
   
   
   
    ' ########################
    ' Try with the AX-Version
    ' ########################
   
   
   
    Dim qp As Object
    Set qp = CreateObject("QuickPDFAX0714.PDFLibrary")
    qp.UnlockKey ("my key")
   
    x = qp.LoadFromFile("Designer71.pdf")
    fcountInt = qp.GetXFAFormFieldCount()


2. Screens from the Errors:

2.1 AX-Version

2.2 DLL-Version


3. The file i have used (not the original, but the same effect)

http://img248.imageshack.us/img248/5895/designer71.pdf


4. explanation
the error pops up in the line with the red border.
Sorry for the "german" screenshots, but this is whre i work :-).

greetings, Marc


Edited by mlange - 24 Jul 09 at 8:51AM
Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jul 09 at 12:18AM
Hi mlange,

The GetXFAFormFieldName function should have worked with a Adobe Designer 7.1 made file. Is there anywhere that you could upload this file to for us to look at? If you can't share the document with the public email me the document at rowan.hanna@quickpdflibrary.com.

Cheers,
- Rowan.
Back to Top
mlange View Drop Down
Beginner
Beginner


Joined: 21 Jul 09
Location: Germany
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlange Quote  Post ReplyReply Direct Link To This Post Posted: 21 Jul 09 at 12:28PM
Hallo everybody,

i am new to the forum but i have made my experiences with the QuickPdf-Library for about 4 years now.

I tried to use the XFA-functions like "GetXFAFormFieldName", with a Designer-made (7.1) pdf-file. But the only thing i get is a gpf (general protection fault).

Has anybody made some succesful attemps using these funtions or is it still a dummy?


P.S. I use the DLL-version of the Library Version 7.14.

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