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
Frederik Exler
Junior Software Developer
GROUP Business Software
Ottostrasse 4
76227 Karlsruhe
Germany
Phone: +49-(0)721-4901-0
www.gbs.com
Security * Portal & BPM * Modernization * Mobility
GROUP Business Software Disclaimer
automatically added by GBS Email Management Solutions
Sitz der Gesellschaft:
GROUP Business Software AG
Hospitalstrasse 6
99817 Eisenach
Germany
Phone: +49 3691 7353-0
Fax: +49 3691 7353-99
Email: i...@gbs.com
Internet: http://www.gbs.com
Registereintragung: Amtsgericht Jena HRB 405713
Umsatzsteuer-Identifikations-Nummer gemäß Paragraph 27a UstG: DE163750681
Vertretungsberechtigter Vorstand: Joerg Ott, Vorstandsvorsitzender (CEO)
Vorsitzender des Aufsichtsrats: Johann Praschinger
--
GROUP Business Software Disclaimer
automatically added by GBS Email Management Solutions
European Headquarters:
GROUP Business Software AG
Hospitalstraße 6
99817 Eisenach
Deutschland
Phone: +49 3691 7353-0
Fax: +49 3691 7353-99
E-Mail: i...@gbs.com
Internet: http://www.gbs.com
Court Registration: Amtsgericht (Local Court) Jena HRB 405713
Sales Tax Identification Number pursuant to Section 27a Sales Tax Act:
DE163750681
Members of the Management Board authorised to represent: Joerg Ott,
Vorstandsvorsitzender (CEO)
Chairman of the Supervisory Board: Johann Praschinger
------------------------------------------------------------------------------
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