PoDoFo::PdfContents Class Reference

#include <PdfContents.h>

List of all members.

Public Member Functions

 PdfContents (PdfVecObjects *pParent)
 PdfContents (PdfObject *inObj)
virtual ~PdfContents ()
virtual PdfObjectGetContents () const
virtual PdfObjectGetContentsForAppending () const

Detailed Description

A interface that provides a wrapper around "PDF content" - the instructions that are used to draw on the PDF "canvas".


Constructor & Destructor Documentation

PoDoFo::PdfContents::PdfContents ( PdfVecObjects pParent  ) 

Construct a new/empty set of contents in the owning objects

PoDoFo::PdfContents::PdfContents ( PdfObject inObj  ) 

Construct the contents from an existing PdfObject

virtual PoDoFo::PdfContents::~PdfContents (  )  [inline, virtual]

Virtual destructor - because ALL destructors should be...


Member Function Documentation

virtual PdfObject* PoDoFo::PdfContents::GetContents (  )  const [inline, virtual]

Get access to the raw contents object. It will either be a PdfStream or a PdfArray

Returns:
a contents object
PdfObject * PoDoFo::PdfContents::GetContentsForAppending (  )  const [virtual]

Get access to an object into which you can add contents at the end of the "stream".

Generated by  doxygen 1.6.2-20100208