View previous topic :: View next topic |
Author |
Message |
Thomas
Joined: 25 Aug 2008 Posts: 7
|
Posted: Thu Apr 02, 2009 1:57 pm Post subject: PdfReaderException - "Cannot handle iref streams." |
|
|
Hi together,
I have a little trouble with the component (previously using version 1.0.898.0 of PDFsharp, now updated to 1.2.1269.0). By reading various pdf files and merging these I have some files which seem to be created with a newer version of Adobe Acrobat. Then the component throws an exception of type PdfReaderException with the following message:
Quote: | "Cannot handle iref streams. The current implementation of PDFsharp cannot handle this PDF feature introduced with Acrobat 6." |
Looking around brought me these lines of code:
Code: | Symbol symbol = ScanNextToken();
// Is it an xref stream?
if (symbol == Symbol.Integer)
throw new PdfReaderException(PSSR.CannotHandleXRefStreams);
// TODO: We have all code to handle them -> just do it
|
Just to understand that: what's the problem you have to solve here? And do you plan to make that happen next time?
And what can I do to prevent that behaviour from an users point of view? For example I solved that issue one time with replacing the original pdf produced by Acrobat directly by printing it again with a pdf printer (CutePDF). But that does not seem to be a workaround for some hundred files we are working here.
Best regards,
Thomas |
|
Back to top |
|
|
arifzia
Joined: 04 Jun 2009 Posts: 1
|
Posted: Thu Jun 04, 2009 1:49 pm Post subject: |
|
|
Hi PDF Sharp Team,
We are waiting for your response on this thread. It will be better if you can either fix this issue or provide some hints to fix it. This problem will get even worse in future. |
|
Back to top |
|
|
Thomas Hoevel
Joined: 16 Oct 2006 Posts: 387 Location: Cologne, Germany
|
Posted: Thu Jun 04, 2009 2:57 pm Post subject: |
|
|
We are working on PDFsharp 1.3 (to be released later this year). _________________ Regards
Thomas Hoevel
PDFsharp Team |
|
Back to top |
|
|
|