Hi, I think this is what you need:
/**
* \returns true if this PdfMemDocument creates an encrypted PDF file
*/
bool PdfMemDocument::GetEncrypted() const { return (m_pEncrypt != NULL); }
if this method returns false, no security settings have been applied to the
PDF.
regards,
Dom
Am Mittwoch, 25. Juni 2008 schrieb Ian:
> Hi, here is a quick question. We've been using the PdfEncrypt class to
> secure an open input stream. However, is there a simple method to detect
> if the incoming PDF already has secured settings or is open?
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
--
**********************************************************************
Dominik Seichter - [EMAIL PROTECTED]
KRename - http://www.krename.net - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
