Hello All,

In "encountering problems with Pdf 1.6" i meant that each time I am
trying to instantiate a PDFDocument using the constructor that gets a
file name (to be loaded into document) I crash.
This only happens with files of pdf version 1.6.

Apparently an error is thrown from HasLinearizationDict when trying to
find out if dictionary contains a key named "Linearized" (second line
within try):

(This is when when instantiating a PdfDocument, a PdfPardser is built,
calling its member ParseFile() which calls ReadDocumentStructure() which
calls in turn to HasLinearizationDict())

try {
        static_cast<PdfParserObject*>(m_pLinearization)->ParseFile();

        if( !m_pLinearization->GetDictionary().HasKey("Linearized") )   
        {
                        ...
            return;
        }
 } catch( PdfError & e ) {
     PdfError::LogMessage( eLogSeverity_Warning, e.what() );
         ...
         throw e;
     return;
 }

Any ideas?

Thanks in advance!
jonathan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 24, 2007 2:09 PM
To: podofo-users@lists.sourceforge.net
Cc: Jonathan Sibony
Subject: Re: [Podofo-users] PDF version

> My questions:
> 1.    Can the library read streams from pdf1.6 (I encounter problems
> with this).
In generally this should work. Streams in PDF1.6 are not technically
different from streams in previous PDF versions. Do you have a (small)
example file?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to