#include </home/clem/local/src/opie/noncore/unsupported/qpdf/xpdf/PDFDoc.h>
Collaboration diagram for PDFDoc:

Public Member Functions | |
| PDFDoc (GString *fileNameA, GString *ownerPassword=NULL, GString *userPassword=NULL, GBool printCommandsA=gFalse) | |
| PDFDoc (BaseStream *strA, GString *ownerPassword=NULL, GString *userPassword=NULL, GBool printCommandsA=gFalse) | |
| ~PDFDoc () | |
| GBool | isOk () |
| int | getErrorCode () |
| GString * | getFileName () |
| XRef * | getXRef () |
| Catalog * | getCatalog () |
| BaseStream * | getBaseStream () |
| fouble | getPageWidth (int page) |
| fouble | getPageHeight (int page) |
| int | getPageRotate (int page) |
| int | getNumPages () |
| GString * | readMetadata () |
| Object * | getStructTreeRoot () |
| void | displayPage (OutputDev *out, int page, fouble zoom, int rotate, GBool doLinks) |
| void | displayPages (OutputDev *out, int firstPage, int lastPage, int zoom, int rotate, GBool doLinks) |
| int | findPage (int num, int gen) |
| LinkAction * | findLink (fouble x, fouble y) |
| GBool | onLink (fouble x, fouble y) |
| LinkDest * | findDest (GString *name) |
| GBool | isEncrypted () |
| GBool | okToPrint (GBool ignoreOwnerPW=gFalse) |
| GBool | okToChange (GBool ignoreOwnerPW=gFalse) |
| GBool | okToCopy (GBool ignoreOwnerPW=gFalse) |
| GBool | okToAddNotes (GBool ignoreOwnerPW=gFalse) |
| GBool | isLinearized () |
| Object * | getDocInfo (Object *obj) |
| fouble | getPDFVersion () |
| GBool | saveAs (GString *name) |
Private Member Functions | |
| GBool | setup (GString *ownerPassword, GString *userPassword) |
| void | checkHeader () |
| void | getLinks (Page *page) |
Private Attributes | |
| GString * | fileName |
| FILE * | file |
| BaseStream * | str |
| fouble | pdfVersion |
| XRef * | xref |
| Catalog * | catalog |
| Links * | links |
| GBool | printCommands |
| GBool | ok |
| int | errCode |
|
||||||||||||||||||||
|
Definition at line 41 of file PDFDoc.cc. References catalog, GString::copy(), errCode, errNone, errOpenFile, error(), fileName, GString::getCString(), gFalse, Object::initNull(), links, GString::lowerCase(), NULL, ok, printCommands, setup(), str, GString::upperCase(), and xref. |
|
||||||||||||||||||||
|
Definition at line 89 of file PDFDoc.cc. References catalog, errCode, errNone, fileName, gFalse, links, NULL, ok, printCommands, setup(), str, and xref. |
|
|
|
|
|
Definition at line 150 of file PDFDoc.cc. References error(), Stream::getChar(), headerSearchSize, i, BaseStream::moveStart(), p, pdfVersion, str, supportedPDFVersionNum, and supportedPDFVersionStr. Referenced by setup(). |
|
||||||||||||||||||||||||
|
Definition at line 179 of file PDFDoc.cc. References catalog, Page::display(), getLinks(), Catalog::getPage(), links, NULL, p, printCommands, and printf. Referenced by displayPages(). |
|
||||||||||||||||||||||||||||
|
Definition at line 198 of file PDFDoc.cc. References displayPage(). |
|
|
Definition at line 99 of file PDFDoc.h. References catalog, and Catalog::findDest(). |
|
||||||||||||
|
Definition at line 92 of file PDFDoc.h. References Links::find(), and links. |
|
||||||||||||
|
Definition at line 88 of file PDFDoc.h. References catalog, and Catalog::findPage(). |
|
|
Definition at line 58 of file PDFDoc.h. References str. |
|
|
Definition at line 55 of file PDFDoc.h. References catalog. |
|
|
Definition at line 119 of file PDFDoc.h. References XRef::getDocInfo(), and xref. |
|
|
Definition at line 46 of file PDFDoc.h. References errCode. |
|
|
Definition at line 49 of file PDFDoc.h. References fileName. |
|
|
Definition at line 254 of file PDFDoc.cc. References catalog, Object::free(), Page::getAnnots(), Catalog::getBaseURI(), and links. Referenced by displayPage(). |
|
|
Definition at line 69 of file PDFDoc.h. References catalog, and Catalog::getNumPages(). |
|
|
Definition at line 63 of file PDFDoc.h. References catalog, and Catalog::getPage(). |
|
|
Definition at line 65 of file PDFDoc.h. References catalog, and Catalog::getPage(). |
|
|
Definition at line 61 of file PDFDoc.h. References catalog, and Catalog::getPage(). |
|
|
Definition at line 122 of file PDFDoc.h. References pdfVersion. |
|
|
Definition at line 76 of file PDFDoc.h. References catalog, and Catalog::getStructTreeRoot(). |
|
|
Definition at line 52 of file PDFDoc.h. References xref. |
|
|
Definition at line 103 of file PDFDoc.h. References XRef::isEncrypted(), and xref. |
|
|
Definition at line 207 of file PDFDoc.cc. References Object::free(), Object::getNum(), Parser::getObj(), BaseStream::getStart(), gFalse, gTrue, Object::initNull(), Object::isInt(), Object::isNum(), BaseStream::makeSubStream(), parser, str, and xref. |
|
|
Definition at line 43 of file PDFDoc.h. References ok. |
|
|
Definition at line 112 of file PDFDoc.h. References XRef::okToAddNotes(), and xref. |
|
|
Definition at line 108 of file PDFDoc.h. References XRef::okToChange(), and xref. |
|
|
Definition at line 110 of file PDFDoc.h. References XRef::okToCopy(), and xref. |
|
|
Definition at line 106 of file PDFDoc.h. References XRef::okToPrint(), and xref. |
|
||||||||||||
|
Definition at line 95 of file PDFDoc.h. References links, and Links::onLink(). |
|
|
Definition at line 73 of file PDFDoc.h. References catalog, and Catalog::readMetadata(). |
|
|
Definition at line 237 of file PDFDoc.cc. References Stream::close(), error(), f, Stream::getChar(), gFalse, gTrue, Stream::reset(), and str. |
|
||||||||||||
|
Definition at line 103 of file PDFDoc.cc. References catalog, checkHeader(), errBadCatalog, errCode, error(), XRef::getErrorCode(), gFalse, gTrue, Catalog::isOk(), XRef::isOk(), printCommands, str, and xref. Referenced by PDFDoc(). |
|
|
Definition at line 138 of file PDFDoc.h. Referenced by displayPage(), findDest(), findPage(), getCatalog(), getLinks(), getNumPages(), getPageHeight(), getPageRotate(), getPageWidth(), getStructTreeRoot(), PDFDoc(), readMetadata(), setup(), and ~PDFDoc(). |
|
|
Definition at line 143 of file PDFDoc.h. Referenced by getErrorCode(), PDFDoc(), and setup(). |
|
|
|
|
|
Definition at line 133 of file PDFDoc.h. Referenced by getFileName(), PDFDoc(), and ~PDFDoc(). |
|
|
Definition at line 139 of file PDFDoc.h. Referenced by displayPage(), findLink(), getLinks(), onLink(), PDFDoc(), and ~PDFDoc(). |
|
|
|
|
|
Definition at line 136 of file PDFDoc.h. Referenced by checkHeader(), and getPDFVersion(). |
|
|
Definition at line 140 of file PDFDoc.h. Referenced by displayPage(), PDFDoc(), and setup(). |
|
|
Definition at line 135 of file PDFDoc.h. Referenced by checkHeader(), getBaseStream(), isLinearized(), PDFDoc(), saveAs(), setup(), and ~PDFDoc(). |
|
|
Definition at line 137 of file PDFDoc.h. Referenced by getDocInfo(), getXRef(), isEncrypted(), isLinearized(), okToAddNotes(), okToChange(), okToCopy(), okToPrint(), PDFDoc(), setup(), and ~PDFDoc(). |
1.4.2