Is there a way to extract the streams and find Javascript in a PDF document
with PoDoFo? I don't need the actual text, just hex codes and bytes would be
fine.

I've done something like this:
PdfMemDocument pdfDoc.Load("file.pdf");
PdfVecObjects objs = m_pdfDoc.GetObjects();
PdfObject o = objs[x];
PdfMemoryOutputStream *pos;
o->GetStream()->GetCopy(pos);
char* buffer = pos->TakeBuffer();

But this doesn't seem to be the right approach.  Any thoughts or
suggestions?
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to