Sorry for my last mail, here's the content again in plain text and
without disclaimer:

-------------

Hello dear podofo users,

Recently I was testing podofos ability to attach files to a pdf. When
I open the resulting pdf with a pdf viewer, it looks just fine, all
files are getting attached. But when i try to access a file e.g. save
it to filesystem, it’s not working:

When using Foxit Reader, the reader crashes.
When using Adobe Reader, I get  an error („An error occured while
reading this document (14).“)

I’m using just some basic code, nothing special:

  PdfStreamedDocument document ( "podofo_test.pdf" );

  PdfRect pdfPageSizeRect = PdfPage::CreateStandardPageSize( ePdfPageSize_A4 );
  PdfPage* pPage = document.CreatePage( pdfPageSizeRect );

  PdfFileSpec spec ( "example.txt", false, &document, true );
  document.AttachFile( spec );

  document.Close();

I also tried using a file annotation, but I still cannot access the
atached file. It seems there’s something wrong with the built pdf
file.

Am I missing some crucial option, or does this feature not work
properly right now?

Thanks in advance
Frederik

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to