If you remove that Limits on the root, then the file shows up just fine.

Since the Limit was there, we are using it as part of the Name Tree parsing and 
failing since it can't find the objects that Limits refers to.

Leonard

-----Original Message-----
From: Leonard Rosenthol [mailto:lrose...@adobe.com] 
Sent: Monday, September 13, 2010 8:03 AM
To: 'domseich...@web.de'
Cc: Michael Wild; podofo-users@lists.sourceforge.net
Subject: Re: [Podofo-users] Attaching files at the document level

I am just looking at the PDF itself right now, not running through Reader yet.  
Here is what I see - a Limits entry at the root node which shouldn't be there.  
Otherwise, nothing is jumping out.

I'll run it through Reader later...

Leonard

-----Original Message-----
From: domseich...@web.de [mailto:domseich...@web.de] 
Sent: Monday, September 13, 2010 7:03 AM
To: Leonard Rosenthol
Cc: podofo-users@lists.sourceforge.net; Michael Wild
Subject: Re: [Podofo-users] Attaching files at the document level

See attachement. Thanks for investigating this!

Cheers,
        Dominik


Am Montag 13 September 2010 schrieb Leonard Rosenthol:
> Can someone post a PDF that demonstrates this?  I'd like to know what 
> is in  the PDF that Reader isn't finding.
> 
> Thanks,
> Leonard
> 
> -----Original Message-----
> From: Dominik Seichter [mailto:domseich...@web.de]
> Sent: Monday, September 13, 2010 6:16 AM
> To: podofo-users@lists.sourceforge.net
> Cc: Michael Wild
> Subject: Re: [Podofo-users] Attaching files at the document level
> 
> 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
> > Podofo-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/podofo-users
> 
> --
> **********************************************************************
> Dominik Seichter - domseich...@web.de
> 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
>  
> **********************************************************************
> 


--
**********************************************************************
Dominik Seichter - domseich...@web.de
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
**********************************************************************

------------------------------------------------------------------------------
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
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

------------------------------------------------------------------------------
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
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to