PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.de/

PdfSharp.PSSR threw an exception
http://forum.pdfsharp.de/viewtopic.php?f=2&t=2363
Page 1 of 1

Author:  andy_t [ Tue Mar 12, 2013 5:49 pm ]
Post subject:  PdfSharp.PSSR threw an exception

I think this may be an issue related to xref streams, which may not be supported, so I'm looking for confirmation. Of course, I have a number of this flavor of PDF files.....

The exception is being thrown by (Parser.cs) ReadXRefTableAndTrailer(), when 'symbol' is an integer.
(Parser.cs - Line: 748~749)
if (symbol == Symbol.Integer)
throw new PdfReaderException(PSSR.CannotHandleXRefStreams);

PDF Herader Bytes:
%PDF-1.3
%âãÏÓ
7 0 obj
<</Linearized 1/L 412400/O 9/E 408369/N 1/T 412109/H [ 444 138]>>
endobj

13 0 obj
<</DecodeParms<</Columns 3/Predictor 12>>/Filter/FlateDecode/ID[<758BB3B8AA758043991607DD6B8DD2E1><758BB3B8AA758043991607DD6B8DD2E1>]/Index[7 9]/Info 6 0 R/Length 44/Prev 412110/Root 8 0 R/Size 16/Type/XRef/W[1 2 0]>>stream
hÞbbd`b`2cb`°ab`\¤C¸Œ‰áo=#Ãt¦ÿŒ [bytes removed....]
endstream
endobj
startxref
0
%%EOF

Author:  Thomas Hoevel [ Wed Mar 13, 2013 9:48 am ]
Post subject:  Re: PdfSharp.PSSR threw an exception

andy_t wrote:
I think this may be an issue related to xref streams, which may not be supported, so I'm looking for confirmation.
Yes.
See also:
viewtopic.php?f=2&t=693

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/