Print Page | Close Window

SaveToFile currupts some documents

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=170
Printed Date: 08 Sep 24 at 1:43AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: SaveToFile currupts some documents
Posted By: JuanMaria
Subject: SaveToFile currupts some documents
Date Posted: 04 Nov 05 at 11:51AM
Hi,

I'm using iSedDQuickPDF 5.11 with Delphi 7. My computer runs Windows XP-Pro whith spanish settings.

The problem that has me stuck is that there are some documents that get corrupt when loaded and saved, even if I don't do anything between both operations as in:

QP.LoadFromFile('D1.pdf'); // File OK
qp.SaveToFile('KK.pdf');   // *** File becomes Corrupt!! ***

When I try to open one of those corrupt documents Acrobat gives me a "Problem (135)".

The original documents are documments that have been field-filled, field-flattened and saved by a program based on iSedPDF. Those documents are correctly opened, displayed and saved by Adobe Acrobat, but I cannot save them with iSedDQuickPDF.

I've uploaded a zip at: http://www.juanmaria.com/tmp/pdfproblem.zip with the following elements:

- d1.pdf: A readable original
- kk.pdf: A corrupt document generated after saving d1.pdf
- PDFSaveText.exe: A test program that, simply, opens di and saves kk.
- And the corresponding source code. The only change I've done is mangling the serial number lest I could get into problems for that.

Thanks in advance.


-------------
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