Thanks guys!

Yep! That worked perfectly,  additionally, I was able to toss the buffer 
from PdfStream::GetFilteredCopy() into a PdfContentsTokenizer and walk 
through the page contents inserting my /MCID tags exactly where I needed to.

Dominik Seichter wrote:
> Hi,
>
> Sure! This is possible with PoDoFo. If you open a PDF file as a 
> PdfMemDocument, you acess each page as a PdfPage.
>
> Using PdfPage::GetContents() you can retrieve a PdfObject, which has a 
> PdfStream. The easiest way is to append to the PdfStream or, if you need more 
> modifications than just appending, you can retrieve the old contents as plain 
> text using PdfStream::GetFilteredCopy ... modify the data and set it as the 
> new stream for the object using PdfStream:Set ... voila :)
>
> So it is possible, if you have more detailed questions - I am sure we can 
> help 
> on this list.
>
> best regards,
>       Dom
>
>   

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to