I have Pdf files with attachments and am wonder how can I extract these
files from the PDF using PoDoFo library( and I do not have any other option
to use another library ).

the code I written for now is :

PoDoFo::PdfMemDocument pdfDocument;

pdfDocument.Load((const char*)pdfFullPath);
PoDoFo::PdfFileSpec* pdfFileSpec = pdfDocument.GetAttachment((const
char*) attachmentName);

But how I should access the file stream from pdfFileSpec ?

I will be very thankful of anyone give me some hints.

Regards.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&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