PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Jun 27, 2024 6:19 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: Tue Mar 12, 2013 5:49 pm 
Offline

Joined: Sun Mar 03, 2013 5:32 pm
Posts: 6
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


Top
 Profile  
 
PostPosted: Wed Mar 13, 2013 9:48 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3100
Location: Cologne, Germany
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

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group