Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PageAttrs Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qpdf/xpdf/Page.h>

Collaboration diagram for PageAttrs:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PageAttrs (PageAttrs *attrs, Dict *dict)
 ~PageAttrs ()
PDFRectanglegetBox ()
PDFRectanglegetMediaBox ()
PDFRectanglegetCropBox ()
GBool isCropped ()
PDFRectanglegetBleedBox ()
PDFRectanglegetTrimBox ()
PDFRectanglegetArtBox ()
int getRotate ()
GStringgetLastModified ()
DictgetBoxColorInfo ()
DictgetGroup ()
StreamgetMetadata ()
DictgetPieceInfo ()
DictgetSeparationInfo ()
DictgetResourceDict ()

Private Member Functions

GBool readBox (Dict *dict, char *key, PDFRectangle *box)

Private Attributes

PDFRectangle mediaBox
PDFRectangle cropBox
GBool haveCropBox
GBool limitToCropBox
PDFRectangle bleedBox
PDFRectangle trimBox
PDFRectangle artBox
int rotate
Object lastModified
Object boxColorInfo
Object group
Object metadata
Object pieceInfo
Object separationInfo
Object resources

Constructor & Destructor Documentation

PageAttrs::PageAttrs PageAttrs attrs,
Dict dict
 

Definition at line 32 of file Page.cc.

References artBox, bleedBox, boxColorInfo, Object::copy(), cropBox, Object::free(), Object::getInt(), gFalse, group, gTrue, haveCropBox, Object::initNull(), Object::isDict(), Object::isInt(), lastModified, limitToCropBox, mediaBox, metadata, pieceInfo, readBox(), resources, rotate, separationInfo, trimBox, PDFRectangle::x1, PDFRectangle::x2, PDFRectangle::y1, and PDFRectangle::y2.

PageAttrs::~PageAttrs  ) 
 

Definition at line 113 of file Page.cc.

References boxColorInfo, Object::free(), group, lastModified, metadata, pieceInfo, and separationInfo.


Member Function Documentation

PDFRectangle* PageAttrs::getArtBox  )  [inline]
 

Definition at line 52 of file Page.h.

References artBox.

Referenced by Page::getArtBox().

PDFRectangle* PageAttrs::getBleedBox  )  [inline]
 

Definition at line 50 of file Page.h.

References bleedBox.

Referenced by Page::getBleedBox().

PDFRectangle* PageAttrs::getBox  )  [inline]
 

Definition at line 46 of file Page.h.

References cropBox, limitToCropBox, and mediaBox.

Referenced by Page::getBox(), Page::getHeight(), and Page::getWidth().

Dict* PageAttrs::getBoxColorInfo  )  [inline]
 

Definition at line 57 of file Page.h.

References boxColorInfo, Object::getDict(), Object::isDict(), and NULL.

Referenced by Page::getBoxColorInfo().

PDFRectangle* PageAttrs::getCropBox  )  [inline]
 

Definition at line 48 of file Page.h.

References cropBox.

Referenced by Page::getCropBox().

Dict* PageAttrs::getGroup  )  [inline]
 

Definition at line 59 of file Page.h.

References Object::getDict(), group, Object::isDict(), and NULL.

Referenced by Page::getGroup().

GString* PageAttrs::getLastModified  )  [inline]
 

Definition at line 54 of file Page.h.

References Object::getString(), Object::isString(), lastModified, and NULL.

Referenced by Page::getLastModified().

PDFRectangle* PageAttrs::getMediaBox  )  [inline]
 

Definition at line 47 of file Page.h.

References mediaBox.

Referenced by Page::getMediaBox().

Stream* PageAttrs::getMetadata  )  [inline]
 

Definition at line 61 of file Page.h.

References Object::getStream(), Object::isStream(), metadata, and NULL.

Referenced by Page::getMetadata().

Dict* PageAttrs::getPieceInfo  )  [inline]
 

Definition at line 63 of file Page.h.

References Object::getDict(), Object::isDict(), NULL, and pieceInfo.

Referenced by Page::getPieceInfo().

Dict* PageAttrs::getResourceDict  )  [inline]
 

Definition at line 68 of file Page.h.

References Object::getDict(), Object::isDict(), NULL, and resources.

Referenced by Page::display(), and Page::getResourceDict().

int PageAttrs::getRotate  )  [inline]
 

Definition at line 53 of file Page.h.

References rotate.

Referenced by Page::display(), and Page::getRotate().

Dict* PageAttrs::getSeparationInfo  )  [inline]
 

Definition at line 65 of file Page.h.

References Object::getDict(), Object::isDict(), NULL, and separationInfo.

Referenced by Page::getSeparationInfo().

PDFRectangle* PageAttrs::getTrimBox  )  [inline]
 

Definition at line 51 of file Page.h.

References trimBox.

Referenced by Page::getTrimBox().

GBool PageAttrs::isCropped  )  [inline]
 

Definition at line 49 of file Page.h.

References haveCropBox.

Referenced by Page::isCropped().

GBool PageAttrs::readBox Dict dict,
char *  key,
PDFRectangle box
[private]
 

Definition at line 123 of file Page.cc.

References Object::arrayGet(), Object::arrayGetLength(), Object::free(), Object::getNum(), gFalse, gTrue, Object::isArray(), Object::isNum(), Dict::lookup(), PDFRectangle::x1, PDFRectangle::x2, PDFRectangle::y1, and PDFRectangle::y2.

Referenced by PageAttrs().


Member Data Documentation

PDFRectangle PageAttrs::artBox [private]
 

Definition at line 81 of file Page.h.

Referenced by getArtBox(), and PageAttrs().

PDFRectangle PageAttrs::bleedBox [private]
 

Definition at line 79 of file Page.h.

Referenced by getBleedBox(), and PageAttrs().

Object PageAttrs::boxColorInfo [private]
 

Definition at line 84 of file Page.h.

Referenced by getBoxColorInfo(), PageAttrs(), and ~PageAttrs().

PDFRectangle PageAttrs::cropBox [private]
 

Definition at line 76 of file Page.h.

Referenced by getBox(), getCropBox(), and PageAttrs().

Object PageAttrs::group [private]
 

Definition at line 85 of file Page.h.

Referenced by getGroup(), PageAttrs(), and ~PageAttrs().

GBool PageAttrs::haveCropBox [private]
 

Definition at line 77 of file Page.h.

Referenced by isCropped(), and PageAttrs().

Object PageAttrs::lastModified [private]
 

Definition at line 83 of file Page.h.

Referenced by getLastModified(), PageAttrs(), and ~PageAttrs().

GBool PageAttrs::limitToCropBox [private]
 

Definition at line 78 of file Page.h.

Referenced by getBox(), and PageAttrs().

PDFRectangle PageAttrs::mediaBox [private]
 

Definition at line 75 of file Page.h.

Referenced by getBox(), getMediaBox(), and PageAttrs().

Object PageAttrs::metadata [private]
 

Definition at line 86 of file Page.h.

Referenced by getMetadata(), PageAttrs(), and ~PageAttrs().

Object PageAttrs::pieceInfo [private]
 

Definition at line 87 of file Page.h.

Referenced by getPieceInfo(), PageAttrs(), and ~PageAttrs().

Object PageAttrs::resources [private]
 

Definition at line 89 of file Page.h.

Referenced by getResourceDict(), and PageAttrs().

int PageAttrs::rotate [private]
 

Definition at line 82 of file Page.h.

Referenced by getRotate(), and PageAttrs().

Object PageAttrs::separationInfo [private]
 

Definition at line 88 of file Page.h.

Referenced by getSeparationInfo(), PageAttrs(), and ~PageAttrs().

PDFRectangle PageAttrs::trimBox [private]
 

Definition at line 80 of file Page.h.

Referenced by getTrimBox(), and PageAttrs().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:44:12 2005 for OPIE by  doxygen 1.4.2