Print Page | Close Window

Has FlattenFormField been improved?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1200
Printed Date: 23 Nov 24 at 7:24AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Has FlattenFormField been improved?
Posted By: JuanMaria
Subject: Has FlattenFormField been improved?
Date Posted: 04 Sep 09 at 8:24AM
Hi,

I'm still using the old -and unsupported- 5.11 version but, for the time being, it works mostly fine for me.

The most annoying problem I'm having is with the FlattenFormField function that, some times and randomly, garbled my documents by putting fields on different places, changing the orientation/format or duplicating them on the document.

I've been looking at the release notes on the QuickPDF Blog but I haven't seen anything about this subject.

Does anyone know if there has been made any improvement on this function?.

I know that there is a trial version but, since the problem seems to occur randomly, I wolud have to recompile my application, install it on the customer system and wait for the problem to occur or not to and I wouldn't like to involve my customer on this without having some expectatives.

Thanks in advance.




-------------
Greetings from Spain.

Juan Maria.



Replies:
Posted By: JuanMaria
Date Posted: 04 Sep 09 at 4:14PM
I missed the thread at http://www.quickpdf.org/forum/random-field-displacement_topic1106.html it seems to be my same problem so I understand that it still happening on the latest versions and that changing the merge/populate order might do the trick.


-------------
Greetings from Spain.

Juan Maria.


Posted By: gkell
Date Posted: 28 Oct 09 at 6:33PM

I have the same issue generating pdfs. Data some how gets mixed when flattening. Here is the code used to flatten:

For i = CLng(pdf1.FormFieldCount) To 1 Step -1
       If CStr(pdf1.GetFormFieldValue(i)) <> "" Then
            lret = pdf1.FlattenFormField(i)
       Else
            lret = pdf1.DeleteFormField(i)
       End If
Next

If I don't flatten data it's fine, however, I have to flatten to merge all generated pdfs together.
 
This needs to be resolved. thanks.


Posted By: JuanMaria
Date Posted: 28 Oct 09 at 6:45PM
Yep, I've tried to change the order of the operations but I'm still getting garbled results when flattening doccuments.

What I'm doing is password-protecting the unflattened docs so the recipient cannot modify the fields.


-------------
Greetings from Spain.

Juan Maria.


Posted By: gkell
Date Posted: 28 Oct 09 at 7:14PM
Unfortunitly, I generate multi page pdfs. So, for me to merge the individual pages into one, they need to be flattened. Have any ideas?


Posted By: JuanMaria
Date Posted: 28 Oct 09 at 7:19PM
Originally posted by gkell gkell wrote:

Unfortunitly, I generate multi page pdfs. So, for me to merge the individual pages into one, they need to be flattened. Have any ideas?


Umm, I haven't got my source here right now but I could swear that I merge several PDFs with forms with no problem as long as I don't flatten them.

My problem was that I did not want the final recipient of the documents to be able of modify the fields values and that was what I wanted the flattening for.


-------------
Greetings from Spain.

Juan Maria.



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