PDFStructure Class Reference

Implements a pdf document consisting of several pages. More...

#include <PDFgraphing.h>

List of all members.

Public Member Functions

 PDFStructure ()
 ~PDFStructure ()
void save (const char *filename)
 Save pdf document into a file "filename".
void newPage ()
 Create a new page.
void addObject (int p, PDFPageObject *obj)
 Add a new object to the page.

Private Member Functions

pair< const char *, int > preparePageContents (int p) const

Private Attributes

vector< PDFPage * > thePages

Detailed Description

Implements a pdf document consisting of several pages.

Definition at line 441 of file PDFgraphing.h.


Constructor & Destructor Documentation

PDFStructure::PDFStructure (  )  [inline]

Definition at line 452 of file PDFgraphing.h.

PDFStructure::~PDFStructure (  )  [inline]

Definition at line 453 of file PDFgraphing.h.

References thePages.


Member Function Documentation

void PDFStructure::addObject ( int  p,
PDFPageObject obj 
) [inline]

Add a new object to the page.

Parameters:
p - page naumber
obj - pointer to the new pdf object instance

Definition at line 479 of file PDFgraphing.h.

References thePages.

Referenced by BraidDrawPDF::drawGenerator(), and BraidDrawPDF::drawGrid().

void PDFStructure::newPage (  )  [inline]

Create a new page.

Definition at line 470 of file PDFgraphing.h.

References thePages.

Referenced by BraidDrawPDF::draw(), and BraidDrawPDF::drawCompressedBraid().

pair< const char* , int > PDFStructure::preparePageContents ( int  p  )  const [private]
void PDFStructure::save ( const char *  filename  ) 

Save pdf document into a file "filename".

Referenced by BraidDrawPDF::save().


Member Data Documentation

vector< PDFPage* > PDFStructure::thePages [private]

Definition at line 499 of file PDFgraphing.h.

Referenced by addObject(), newPage(), and ~PDFStructure().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:49 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1