pdfobjects::ICPageModule Class Reference

#include <cpagemodule.h>

Inheritance diagram for pdfobjects::ICPageModule:
pdfobjects::CPageAnnots pdfobjects::CPageChanges pdfobjects::CPageContents pdfobjects::CPageDisplay pdfobjects::CPageFonts

List of all members.

Public Member Functions

void init ()
void reset ()
virtual ~ICPageModule ()

Detailed Description

Base class for all page modules.

CPage represents a page according to pdf specification. Page is a dictionary containing several mandatory and several optional entries. The basic idea behind page modules is that most of these entries are complex and standalone and therefore they are detached from CPage implementation.

We can choose which optional entries to support and create new module for it. The implementation of CPage is kept simple and clear.

A module initialisation can fail e.g. when the pdf file is damaged. This should be announced in the init() function.

Module deinitialisation can fail too and it should be announced in the reset() function.

TODO: 1) for performance issues these functions can be called multiple times during the module lifecycle 2) create a page module initialisation/deinitialisation exception


Constructor & Destructor Documentation

virtual pdfobjects::ICPageModule::~ICPageModule (  )  [inline, virtual]

Member Function Documentation

void pdfobjects::ICPageModule::init (  )  [inline]

Reimplemented in pdfobjects::CPageContents.

void pdfobjects::ICPageModule::reset (  )  [inline]

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