Yea, I'm kind of guessing what is going on here. I've attached a Zip file that has a sample PDF file and a README that fully explains what I'm doing and the code I'm using.
Bottom line, when using the viewer control to read a file via streams that has been updated and then saved on top of itself, it is rendering and responding differently than the Tracker Viewer or Acrobat. Responding differently meaning that it is rendering the prior version of the file (before the last save) as well as executing JavaScript against a prior version.
Big Note: When saving the file using Save As, meaning that Acrobat has written the file out from scratch, all works as it should.
Sounds like a cool bug huh? LOL. Scream if you need anything else from me.
Please see attached ZIP file.
?? When reading from a stream, not all info is read ??
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
?? When reading from a stream, not all info is read ??
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: ?? When reading from a stream, not all info is read ??
Hi, DSSavant.
We investigated your problem. Thanks for detailed description.
But we can't reproduce the described bugs with the current version (2.5.0.192) it works/renders correctly and identically in our EU-program and viewer-control.
Maybe you are using an older build...
About loading/saving from/to stream:
I think these bugs are not dependant on streams usage, our viewer-control loads the entire data from the stream before document opening, and saves the
entire data to the stream on document saving.
Best
Regards.
We investigated your problem. Thanks for detailed description.
But we can't reproduce the described bugs with the current version (2.5.0.192) it works/renders correctly and identically in our EU-program and viewer-control.
Maybe you are using an older build...
About loading/saving from/to stream:
I think these bugs are not dependant on streams usage, our viewer-control loads the entire data from the stream before document opening, and saves the
entire data to the stream on document saving.
Best
Regards.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: ?? When reading from a stream, not all info is read ??
I will research more. I'm guessing it is a setting I have set in the viewer. I'm running 2.5.190.
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: ?? When reading from a stream, not all info is read ??
I have reproduced this using the C# Full Demo application that Tracker ships with the SDK. Since I'm two builds (or so) off of the version you tested with, I upgrade and test again - I'm currently waiting on a build that should be released today/tomorrow.
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: ?? When reading from a stream, not all info is read ??
Ok - thanks - should be up later today ...
Cheers
Cheers
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: ?? When reading from a stream, not all info is read ??
Just got the new build, 193, loaded.
Problem fixed. I'm also seeing more verbs to play with in the documentation. It's almost like Christmas!
Problem fixed. I'm also seeing more verbs to play with in the documentation. It's almost like Christmas!
-
- Site Admin
- Posts: 7362
- Joined: Wed Mar 25, 2009 10:37 pm
Re: ?? When reading from a stream, not all info is read ??

Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com