Hi, I just integrate your patch into trunk (and into branch as well as it contains merely API changes, but important ones). Thanks for your contribution!
best regards,
Dom
Am Dienstag, 10. Juni 2008 schrieb EXTERNAL Loch Sebastian (Firma Ferchau;
BhP/TEF17):
> Good morning,
>
> thanks for your reply, I switched yesterday evening
> to the svn version, as the below functions didn't exist
> in the version 0.5.0. I need exactly these functionality.
> I had no problems to build the library with the version
> from the trunk.
>
> Furthermore I already added my path with minor changes
> into the new version.
>
> Please inform me when you integrated my patch!
>
> Thanks.
>
> Best Regards
> Sebastian
>
>
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 10. Juni 2008 06:46
> An: [email protected]
> Cc: EXTERNAL Loch Sebastian (Firma Ferchau; BhP/TEF17)
> Betreff: Re: [Podofo-users] Security attibutes
>
> Hi,
>
> It is possible to set these attributes now.
>
> You can check permissions using the PdfDocument methods:
>
> virtual bool IsPrintAllowed() const = 0;
> virtual bool IsEditAllowed() const = 0;
> virtual bool IsCopyAllowed() const = 0;
> virtual bool IsEditNotesAllowed() const = 0;
> virtual bool IsFillAndSignAllowed() const = 0;
> virtual bool IsAccessibilityAllowed() const = 0;
> virtual bool IsDocAssemblyAllowed() const = 0;
> virtual bool IsHighPrintAllowed() const = 0;
>
> You can set them using the PdfEncrypt constructor (enum
> PdfEncrypt::EPdfPermissions) or PdfMemDocument::SetEncrypted. If you only
> supply an owner password but no user password, you can encrypt the
> document, set security attributes and the user can open the PDF without
> having to add a password.
>
> Hope this is what you need. For a example code look in podofoencrypt!
>
> regards,
> Dom
>
> PS: Thanks for your patch, I will integrate it as soon as time allows!
>
>
> Am Montag, 9. Juni 2008 schrieb EXTERNAL Loch Sebastian (Firma Ferchau;
>
> BhP/TEF17):
> > Hello list,
> >
> > I need to set some security attributes.
> >
> > I already searched the mailing list archive and found
> > an similar question from last July and a reply from Dom
> > that it isn't possible right now but that's planned.
> >
> > Therefore again, is it possible to set security attibutes (printing,
> > copying, signing, extraction, changing, text export)?
> > If not when this will eventually be added to the library?
> >
> > Thanks.
> >
> > Regards.
> > Sebastian
> >
> > -------------------------------------------------------------------------
> > 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
