Hi, Same behaviour for me. Okular shows the attached file and acrobar reader does not. Maybe you should use a file attachement annotation? Did you try this?
Cheers,
Dominik
Am Montag 13 September 2010 schrieb Michael Wild:
> On 9. Sep, 2010, at 9:47 , Michael Wild wrote:
> > Hi all
> >
> > I'm new to PoDoFo and this list, so please bear with me :-)
> >
> > I'm trying to attach a file to an existing PDF using PoDoFo such that it
> > appears in the attachments pane of the Adobe Reader. I tried naively with
> > the following code:
> >
> > PdfMemDocument document("in.pdf");
> > document.AttachFile( PdfFileSpec("test.txt", true, &document ) );
> > document.Write("out.pdf");
> >
> > and it kind of works. podofopdfinfo and podofobrowser both show me that
> > the attachment is there (I can even see the contents in the
> > podofobrowser), but the Adobe Reader seems to ignore it completely.
> >
> > Am I missing something? Are there additional steps required?
> >
> > Thanks for any help
> >
> > Michael
>
> Nobody?
>
> Michael
>
>
> ---------------------------------------------------------------------------
> --- Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> 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.
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
