Print Page | Close Window

Incremental save not working

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3320
Printed Date: 06 May 24 at 11:16PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Incremental save not working
Posted By: pinozzy
Subject: Incremental save not working
Date Posted: 03 May 16 at 11:22AM
Hello all,

I'm trying to edit (adding a new empty signature) a digitally signed document and save it with AppendToFile() method, for preserve the integrity of the signature.

What i do is this (from the Sample console):

QP.LoadFromFile(GetInputFolder() + "test.pdf", "");

f = QP.NewFormField("signature_field", 6);
QP.SetFormFieldBounds(f, 100, 100, 200, 80);
QP.SetFormFieldPage(f, 1);

QP.AppendToFile(GetInputFolder() + "test.pdf");
DisplayPDFReader(GetInputFolder() + "test.pdf");
      
test.pdf is a pdf altready signed.

What i obtain from this snippet is a pdf with error on the sitgnature, instead of the green flag.

If i try for example to do the same thing with itextsharp, the operation doesn't cause any corruption.

What am I missing?

Thanks.

Fabrizio






Replies:
Posted By: Ingo
Date Posted: 03 May 16 at 7:11PM
Hi,

if the pdf is already signed
an additional processing on it shouldn't work i hope ;-)



-------------
Cheers,
Ingo



Posted By: pinozzy
Date Posted: 03 May 16 at 7:21PM
well, it's not an additional process to the original one, its incremental, this means that all revisions are saved and exportable with adobe reader. this tecnique is used by major graphometry softwares like xyzmo or others. i can do that process with itext, for now i solved that way, but i'd prefer to use debenu... if possibile. many thanks for the support!



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