PoDoFo::PdfFilteredDecodeStream Class Reference

Inheritance diagram for PoDoFo::PdfFilteredDecodeStream:

PoDoFo::PdfOutputStream

List of all members.

Public Member Functions

 PdfFilteredDecodeStream (PdfOutputStream *pOutputStream, const EPdfFilter eFilter, bool bOwnStream, const PdfDictionary *pDecodeParms=NULL)
virtual long Write (const char *pBuffer, long lLen)
virtual void Close ()


Detailed Description

Create a filter that is a PdfOutputStream.

All data written to this stream is decoded using a filter and written to another PdfOutputStream.

The passed output stream is owned by this PdfOutputStream and deleted along with it.


Constructor & Destructor Documentation

PoDoFo::PdfFilteredDecodeStream::PdfFilteredDecodeStream ( PdfOutputStream pOutputStream,
const EPdfFilter  eFilter,
bool  bOwnStream,
const PdfDictionary *  pDecodeParms = NULL 
) [inline]

Create a filtered output stream.

All data written to this stream is decoded using the passed filter type and written to the passed output stream which will be deleted by this PdfFilteredEncodeStream.

Parameters:
pOutputStream write all data to this output stream after decoding the data. The PdfOutputStream is deleted along with this object.
eFilter use this filter for decoding.
bOwnStream if true pOutputStream will be deleted along with this filter
pDecodeParms additional parameters for decoding


Member Function Documentation

virtual void PoDoFo::PdfFilteredDecodeStream::Close (  )  [inline, virtual]

Close the PdfOutputStream. This method may throw exceptions and has to be called before the descructor to end writing.

No more data may be written to the output device after calling close.

Implements PoDoFo::PdfOutputStream.

virtual long PoDoFo::PdfFilteredDecodeStream::Write ( const char *  pBuffer,
long  lLen 
) [inline, virtual]

Write data to the output stream

Parameters:
pBuffer the data is read from this buffer
lLen the size of the buffer

Implements PoDoFo::PdfOutputStream.


Generated on Wed May 6 08:17:04 2009 for PoDoFo by  doxygen 1.5.8