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

Public Member Functions | Private Member Functions | Private Attributes

PoDoFo::PdfImmediateWriter Class Reference

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

List of all members.

Public Member Functions

EPdfVersion GetPdfVersion () const
EPdfWriteMode GetWriteMode () const
 PdfImmediateWriter (PdfOutputDevice *pDevice, PdfVecObjects *pVecObjects, const PdfObject *pTrailer, EPdfVersion eVersion=ePdfVersion_1_5, PdfEncrypt *pEncrypt=NULL, EPdfWriteMode eWriteMode=ePdfWriteMode_Default)

Private Member Functions

void BeginAppendStream (const PdfStream *pStream)
void CreateFileIdentifier (PdfString &identifier, const PdfObject *pTrailer) const PODOFO_LOCAL
PdfStreamCreateStream (PdfObject *pParent)
void EndAppendStream (const PdfStream *pStream)
void FillTrailerObject (PdfObject *pTrailer, pdf_long lSize, bool bPrevEntry, bool bOnlySizeKey) const
void Finish ()
void FinishLastObject ()
void GetByteOffset (PdfObject *pObject, pdf_long *pulOffset)
bool GetEncrypted () const
bool GetLinearized () const
const char * GetPdfVersionString () const
bool GetUseXRefStream () const
void ParentDestructed ()
void SetEncrypted (const PdfEncrypt &rEncrypt)
void SetLinearized (bool bLinearize)
void SetPdfVersion (EPdfVersion eVersion)
void SetUseXRefStream (bool bStream)
void SetWriteMode (EPdfWriteMode eWriteMode)
void Write (const char *pszFilename)
void Write (PdfOutputDevice *pDevice)
void WriteObject (const PdfObject *pObject)
void PODOFO_LOCAL WritePdfHeader (PdfOutputDevice *pDevice)
void WritePdfObjects (PdfOutputDevice *pDevice, const PdfVecObjects &vecObjects, PdfXRef *pXref) PODOFO_LOCAL
void WriteToBuffer (char **ppBuffer, pdf_long *pulLen)

Private Attributes

bool m_bOpenStream
bool m_bXRefStream
PdfString m_identifier
PdfOutputDevicem_pDevice
PdfEncryptm_pEncrypt
 If not NULL encrypt all strings and streams and create an encryption dictionary in the trailer.
PdfObjectm_pEncryptObj
 Used to temporarly store the encryption dictionary.
PdfObjectm_pLast
PdfVecObjectsm_pParent
PdfObjectm_pTrailer
PdfXRefm_pXRef
PdfVecObjectsm_vecObjects

Detailed Description

Definition at line 34 of file PdfImmediateWriter.h.


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

Generated by  Doxygen 1.6.0   Back to index