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!
problem with loading doc |
Post Reply |
Author | |
ukobsa
Senior Member Joined: 29 May 06 Location: Germany Status: Offline Points: 115 |
Post Options
Thanks(0)
Posted: 18 Jul 06 at 8:03AM |
Hi,
i have a problem with loading a document containing form fields: - I can load it the first time. - Then I save it without any changes. -> if I want to reload it, it doesn't have any pages After some debugging it seems that it cannot find it's root object reference and therefore no pages. Adobe Reader and GhostView can display it fine. When I uncompress the content with pdftk then I can load and render it with QuickPDf again. Does someone have an idea what happens here? thanks, Ulrich |
|
ukobsa
Senior Member Joined: 29 May 06 Location: Germany Status: Offline Points: 115 |
Post Options
Thanks(0)
|
update:
as far as I can tell now, it seems to be a problem with cross reference streams. They are ignored on saving the file and so the reference section gets wrongs. Questions: 1) can QuickPDF work with cross reference streams? 2) what is the PDF version, QuickPDF is compatible with? greetings, Ulrich |
|
ukobsa
Senior Member Joined: 29 May 06 Location: Germany Status: Offline Points: 115 |
Post Options
Thanks(0)
|
second update:
ok, I think I found the problem with the document: the original one contains a cross reference stream and is a hybrid-reference file (so it also contains normal XRef section). Therefore the xref's trailer has an entry /XRefStm pointing to the XRefStream. When the document is saved, the cross reference STREAM is removed and replaced by normal XRef. But the new xrefs trailer still contains the XRefStm tag which now points to nirvana! When I delete the XRefStm manually, I can display the file again. So: is it ok that the xref stream is replaced by normal xref? (if so the bug is that the xRefStm Reference is not deleted, otherwise the bug is in not saving the xref stream). Can someone with more knowledge of PDF spec comment the above? Thanks, Ulrich |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store