|
Public Member Functions |
| | XRef (BaseStream *strA, GString *ownerPassword, GString *userPassword) |
| | ~XRef () |
| GBool | isOk () |
| int | getErrorCode () |
| GBool | isEncrypted () |
| GBool | okToPrint (GBool ignoreOwnerPW=gFalse) |
| GBool | okToChange (GBool ignoreOwnerPW=gFalse) |
| GBool | okToCopy (GBool ignoreOwnerPW=gFalse) |
| GBool | okToAddNotes (GBool ignoreOwnerPW=gFalse) |
| Object * | getCatalog (Object *obj) |
| Object * | fetch (int num, int gen, Object *obj) |
| Object * | getDocInfo (Object *obj) |
| Object * | getDocInfoNF (Object *obj) |
| int | getNumObjects () |
| Guint | getLastXRefPos () |
| int | getRootNum () |
| int | getRootGen () |
| GBool | getStreamEnd (Guint streamStart, Guint *streamEnd) |
| int | getSize () |
| XRefEntry * | getEntry (int i) |
| Object * | getTrailerDict () |
Private Member Functions |
| Guint | getStartXref () |
| GBool | readXRef (Guint *pos) |
| GBool | readXRefTable (Parser *parser, Guint *pos) |
| GBool | readXRefStreamSection (Stream *xrefStr, int *w, int first, int n) |
| GBool | readXRefStream (Stream *xrefStr, Guint *pos) |
| GBool | constructXRef () |
| GBool | checkEncrypted (GString *ownerPassword, GString *userPassword) |
| Guint | strToUnsigned (char *s) |
Private Attributes |
| BaseStream * | str |
| Guint | start |
| XRefEntry * | entries |
| int | size |
| int | rootNum |
| int | rootGen |
| GBool | ok |
| int | errCode |
| Object | trailerDict |
| Guint | lastXRefPos |
| Guint * | streamEnds |
| int | streamEndsLen |
| ObjectStream * | objStr |
| GBool | encrypted |
| int | encVersion |
| int | encRevision |
| int | keyLength |
| int | permFlags |
| Guchar | fileKey [16] |
| GBool | ownerPasswordOk |