When you lock an annotation it means it can't be moved around or edited
unless the lock is removed (which is easily done).
What would locking an embedded file mean, exactly?

On Mon, Aug 29, 2016 at 10:13 AM, <nico.pren...@vlh.de> wrote:

> Hello all,
>
> is there a possibility to lock an embedded file like the setLocked(*true*)
> flag within PDAnnotationFileAttachment? I don't want to add a link to the
> pdf document, but i'd like to lock the embedded file...
>
>
> PDAnnotationFileAttachment txtLink = *new* PDAnnotationFileAttachment();
> txtLink.setFile(fs);
> txtLink.setLocked(*true*);
>
>
>
> PDEmbeddedFile embeddedFile = *new* PDEmbeddedFile(pdDocument, is,
> COSName.*FLATE_DECODE*);
> embeddedFile.setSubtype("message/rfc822");
> embeddedFile.setSize(baos.size());
> embeddedFile.setCreationDate(archiveDocument.getDataDocument().
> getFileDateLastModified());
> embeddedFile.setLocked()???
>
>
>
>
> NicoP.
>
> ____________________________________________________________
> _______________________
> Lohnsteuerhilfeverein Vereinigte Lohnsteuerhilfe e.V., Fritz-Voigt-Str.
> 13, 67433 Neustadt
> Tel. 06321/4901-0, Fax 06321/4901-49, E-Mail: v...@vlh.de, Internet:
> www.vlh.de
> Vorstand: Vorsitzender Jörg Strötzel (Steuerberater), Jens Kirstein,
> Norbert Jörgens,
> Registergericht Ludwigshafen VR 40809
>
>

Reply via email to