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

void PoDoFo::PdfStream::Set ( const char *  szBuffer,
pdf_long  lLen,
const TVecFilters &  vecFilters 

Set a binary buffer as stream data.

Use PdfFilterFactory::CreateFilterList if you want to use the contents of the stream dictionary's existing filter key.

szBufferbuffer containing the stream data
lLenlength of the buffer
vecFiltersa list of filters to use when appending data

Definition at line 111 of file PdfStream.cpp.

References Append(), BeginAppend(), and EndAppend().

Referenced by PoDoFo::PdfColor::BuildColorSpace(), PoDoFo::PdfFileSpec::EmbeddFile(), PoDoFo::PdfFileSpec::EmbeddFileFromMem(), PoDoFo::PdfFontType1::EmbedFontFile(), PoDoFo::PdfFontTrueType::EmbedFontFile(), PoDoFo::PdfMemStream::FlateCompressStreamData(), PoDoFo::Impose::PdfTranslator::impose(), Set(), PoDoFo::PdfImage::SetImageData(), PoDoFo::PdfImage::SetImageICCProfile(), PoDoFo::Impose::PdfTranslator::setTarget(), and PoDoFo::PdfMemStream::Uncompress().

    this->BeginAppend( vecFilters );
    this->Append( szBuffer, lLen );

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index