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 - problem with loading doc
  FAQ FAQ  Forum Search   Register Register  Login Login

problem with loading doc

 Post Reply Post Reply
Author
Message
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Topic: problem with loading doc
    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
Back to Top
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Posted: 19 Jul 06 at 3:57AM
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
Back to Top
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jul 06 at 4:52AM
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
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