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

Public Member Functions | Protected Member Functions | Protected Attributes

PoDoFo::PdfStream Class Reference

#include <PdfStream.h>

Inheritance diagram for PoDoFo::PdfStream:
Inheritance graph
Collaboration diagram for PoDoFo::PdfStream:
Collaboration graph

List of all members.

Public Member Functions

void Append (const char *pszString, size_t lLen)
void Append (const char *pszString)
void Append (const std::string &sString)
void BeginAppend (const TVecFilters &vecFilters, bool bClearExisting=true, bool bDeleteFilters=true)
void BeginAppend (bool bClearExisting=true)
void EndAppend ()
virtual void GetCopy (char **pBuffer, pdf_long *lLen) const =0
virtual void GetCopy (PdfOutputStream *pStream) const =0
void GetFilteredCopy (char **pBuffer, pdf_long *lLen) const
void GetFilteredCopy (PdfOutputStream *pStream) const
virtual pdf_long GetLength () const =0
const PdfStreamoperator= (const PdfStream &rhs)
 PdfStream (PdfObject *pParent)
void Set (const char *szBuffer, pdf_long lLen, const TVecFilters &vecFilters)
void Set (PdfInputStream *pStream)
void Set (const char *pszString)
void Set (PdfInputStream *pStream, const TVecFilters &vecFilters)
void Set (const char *szBuffer, pdf_long lLen)
void SetRawData (PdfInputStream *pStream, pdf_long lLen=-1)
virtual void Write (PdfOutputDevice *pDevice, PdfEncrypt *pEncrypt=NULL)=0

Protected Member Functions

virtual void AppendImpl (const char *pszString, size_t lLen)=0
virtual void BeginAppendImpl (const TVecFilters &vecFilters)=0
virtual void EndAppendImpl ()=0
virtual const char * GetInternalBuffer () const =0
virtual pdf_long GetInternalBufferSize () const =0

Protected Attributes

bool m_bAppend

Detailed Description

A PDF stream can be appended to any PdfObject and can contain arbitrary data.

Most of the time it will contain either drawing commands to draw onto a page or binary data like a font or an image.

You have to use a concrete implementation of a stream, which can be retrieved from a StreamFactory.

See also:

Definition at line 51 of file PdfStream.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index