I'm trying to use PdfStreamedDocument like so:
>     PoDoFo::PdfStreamedDocument doc(out_filename);
>
>     for(int i=0; i<num_inputs; ++i) {
>         doc.Append( PoDoFo::PdfMemDocument(in_filenames[i]) );
>     }
>
>     doc.Close();
but the result is just two blank pages.  I'm currently doing something 
like this:
>    PoDoFo::PdfMemDocument doc;
>
>     for(int i=0; i<num_inputs; ++i) {
>         doc.Append( PoDoFo::PdfMemDocument(in_filenames[i]) );
>     }
>
>     doc.Write(out_filename);
which works perfectly fine.  Is anyone able to offer some insight on why 
this doesn't work or any technical reasons that it shouldn't?  I'd like 
to be able to use PdfStreamedDocument for this as merging lots of 
documents can take up a lot of memory seemingly unnecessarily.

- Mike Slegeir

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to