#include <Page.h>
Public Member Functions | |
| PageAttrs (PageAttrs *attrs, Dict *dict) | |
| ~PageAttrs () | |
| PDFRectangle * | getBox () |
| PDFRectangle * | getMediaBox () |
| PDFRectangle * | getCropBox () |
| GBool | isCropped () |
| PDFRectangle * | getBleedBox () |
| PDFRectangle * | getTrimBox () |
| PDFRectangle * | getArtBox () |
| int | getRotate () |
| GString * | getLastModified () |
| Dict * | getBoxColorInfo () |
| Dict * | getGroup () |
| Stream * | getMetadata () |
| Dict * | getPieceInfo () |
| Dict * | getSeparationInfo () |
| Dict * | getResourceDict () |
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 |
Definition at line 42 of file Page.h.
| PageAttrs::~PageAttrs | ( | ) |
| PDFRectangle* PageAttrs::getBox | ( | ) | [inline] |
Definition at line 54 of file Page.h.
References cropBox, limitToCropBox, and mediaBox.
Referenced by Page::getBox(), Page::getHeight(), and Page::getWidth().
00054 { return limitToCropBox ? &cropBox : &mediaBox; }
| PDFRectangle* PageAttrs::getMediaBox | ( | ) | [inline] |
Definition at line 55 of file Page.h.
References mediaBox.
Referenced by Page::getMediaBox().
00055 { return &mediaBox; }
| PDFRectangle* PageAttrs::getCropBox | ( | ) | [inline] |
Definition at line 56 of file Page.h.
References cropBox.
Referenced by Page::getCropBox().
00056 { return &cropBox; }
| GBool PageAttrs::isCropped | ( | ) | [inline] |
Definition at line 57 of file Page.h.
References haveCropBox.
Referenced by Page::isCropped().
00057 { return haveCropBox; }
| PDFRectangle* PageAttrs::getBleedBox | ( | ) | [inline] |
Definition at line 58 of file Page.h.
References bleedBox.
Referenced by Page::getBleedBox().
00058 { return &bleedBox; }
| PDFRectangle* PageAttrs::getTrimBox | ( | ) | [inline] |
Definition at line 59 of file Page.h.
References trimBox.
Referenced by Page::getTrimBox().
00059 { return &trimBox; }
| PDFRectangle* PageAttrs::getArtBox | ( | ) | [inline] |
Definition at line 60 of file Page.h.
References artBox.
Referenced by Page::getArtBox().
00060 { return &artBox; }
| int PageAttrs::getRotate | ( | ) | [inline] |
Definition at line 61 of file Page.h.
References rotate.
Referenced by Page::getRotate().
00061 { return rotate; }
| GString* PageAttrs::getLastModified | ( | ) | [inline] |
Definition at line 62 of file Page.h.
References Object::getString(), Object::isString(), lastModified, and NULL.
Referenced by Page::getLastModified().
00063 { return lastModified.isString() 00064 ? lastModified.getString() : (GString *)NULL; }
| Dict* PageAttrs::getBoxColorInfo | ( | ) | [inline] |
Definition at line 65 of file Page.h.
References boxColorInfo, Object::getDict(), Object::isDict(), and NULL.
Referenced by Page::getBoxColorInfo().
00066 { return boxColorInfo.isDict() ? boxColorInfo.getDict() : (Dict *)NULL; }
| Dict* PageAttrs::getGroup | ( | ) | [inline] |
Definition at line 67 of file Page.h.
References Object::getDict(), group, Object::isDict(), and NULL.
Referenced by Page::getGroup().
| Stream* PageAttrs::getMetadata | ( | ) | [inline] |
Definition at line 69 of file Page.h.
References Object::getStream(), Object::isStream(), metadata, and NULL.
Referenced by Page::getMetadata().
| Dict* PageAttrs::getPieceInfo | ( | ) | [inline] |
Definition at line 71 of file Page.h.
References Object::getDict(), Object::isDict(), NULL, and pieceInfo.
Referenced by Page::getPieceInfo().
| Dict* PageAttrs::getSeparationInfo | ( | ) | [inline] |
Definition at line 73 of file Page.h.
References Object::getDict(), Object::isDict(), NULL, and separationInfo.
Referenced by Page::getSeparationInfo().
00074 { return separationInfo.isDict() 00075 ? separationInfo.getDict() : (Dict *)NULL; }
| Dict* PageAttrs::getResourceDict | ( | ) | [inline] |
Definition at line 76 of file Page.h.
References Object::getDict(), Object::isDict(), NULL, and resources.
Referenced by Page::getResourceDict().
| GBool PageAttrs::readBox | ( | Dict * | dict, | |
| char * | key, | |||
| PDFRectangle * | box | |||
| ) | [private] |
PDFRectangle PageAttrs::mediaBox [private] |
PDFRectangle PageAttrs::cropBox [private] |
GBool PageAttrs::haveCropBox [private] |
GBool PageAttrs::limitToCropBox [private] |
PDFRectangle PageAttrs::bleedBox [private] |
PDFRectangle PageAttrs::trimBox [private] |
PDFRectangle PageAttrs::artBox [private] |
int PageAttrs::rotate [private] |
Object PageAttrs::lastModified [private] |
Object PageAttrs::boxColorInfo [private] |
Object PageAttrs::group [private] |
Object PageAttrs::metadata [private] |
Object PageAttrs::pieceInfo [private] |
Object PageAttrs::separationInfo [private] |
Object PageAttrs::resources [private] |
1.5.1