Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

void PoDoFo::Impose::PdfTranslator::addToSource ( const std::string &  source )

Another way to set many files as source document. Note that a source must be set before you call addToSource().

Definition at line 151 of file pdftranslator.cpp.

References PoDoFo::PdfMemDocument::InsertPages().

            {
//                std::cerr<<"PdfTranslator::addToSource "<< source<<std::endl;
                  if ( !sourceDoc )
                        return;

                  PdfMemDocument extraDoc ( source.c_str() );
                  sourceDoc->InsertPages ( extraDoc, 0,  extraDoc.GetPageCount() );
                  multiSource.push_back ( source );

            }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index