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

Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends

PoDoFo::PdfMemStream Class Reference

#include <PdfMemStream.h>

Inheritance diagram for PoDoFo::PdfMemStream:
Inheritance graph
[legend]
Collaboration diagram for PoDoFo::PdfMemStream:
Collaboration graph
[legend]

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 (bool bClearExisting=true)
void BeginAppend (const TVecFilters &vecFilters, bool bClearExisting=true, bool bDeleteFilters=true)
void Empty ()
void EndAppend ()
void FlateCompress ()
const char * Get () const
virtual void GetCopy (char **pBuffer, pdf_long *lLen) const
virtual void GetCopy (PdfOutputStream *pStream) const
void GetFilteredCopy (char **pBuffer, pdf_long *lLen) const
void GetFilteredCopy (PdfOutputStream *pStream) const
pdf_long GetLength () const
const PdfStreamoperator= (const PdfStream &rhs)
 PdfMemStream (PdfObject *pParent)
 PdfMemStream (const PdfMemStream &rhs)
void Set (PdfInputStream *pStream, const TVecFilters &vecFilters)
void Set (const char *szBuffer, pdf_long lLen, const TVecFilters &vecFilters)
void Set (PdfInputStream *pStream)
void Set (const char *szBuffer, pdf_long lLen)
void Set (const char *pszString)
void SetRawData (PdfInputStream *pStream, pdf_long lLen=-1)
void Uncompress ()
virtual void Write (PdfOutputDevice *pDevice, PdfEncrypt *pEncrypt=NULL)

Protected Member Functions

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

Protected Attributes

bool m_bAppend
PdfObjectm_pParent

Private Member Functions

void FlateCompressStreamData ()

Private Attributes

PdfRefCountedBuffer m_buffer
pdf_long m_lLength
PdfBufferOutputStreamm_pBufferStream
PdfOutputStreamm_pStream

Friends

class PdfVecObjects

Detailed Description

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

A PDF memory stream is held completely in memory.

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

A PdfMemStream is implicitly shared and can therefore be copied very quickly.

Definition at line 46 of file PdfMemStream.h.


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

Generated by  Doxygen 1.6.0   Back to index