On May 21, 2010 at 1515 +0200, René Pfeiffer appeared and said: > On May 21, 2010 at 1318 +0200, René Pfeiffer appeared and said: > > Is there a way to skip the decryption part? The text indexer code runs > > unattended, so there is no way to query for passphrases while > > indexing/converting the documents. > > Ok, please disregard my question. I am using the PdfMemDocument > constructor to read the document and extract the meta information. > I'll try what the constructor has to say to encrypted PDFs. :)
I tried and both podofopdfinfo and my code that calls GetTitle() of the PdfInfo class. In both cases I get a segmentation fault. Apart from this being undesirable I am thinking if it's possible to have the library not inspect an encrypted PDF document (maybe controlled by an option). My indexer code runs unattended, so there's no way of providing passphrases. Is there a way of detecting PDF encryption without triggering the code part that causes the segfault? Best wishes, René. -- )\._.,--....,'``. fL Let GNU/Linux work for you while you take a nap. /, _.. \ _\ (`._ ,. R. Pfeiffer <lynx at luchs.at> + http://web.luchs.at/ `._.-(,_..'--(,_..'`-.;.' - System administration + Consulting + Teaching - Got mail delivery problems? http://web.luchs.at/information/blockedmail.php
pgpR1UqB4cmo3.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
