Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

PDFDoc Class Reference

#include <PDFDoc.h>

List of all members.

Public Methods

 PDFDoc (GString *fileNameA, GString *ownerPassword=NULL, GString *userPassword=NULL)
 PDFDoc (BaseStream *strA, GString *ownerPassword=NULL, GString *userPassword=NULL)
 ~PDFDoc ()
GBool isOk ()
int getErrorCode ()
GStringgetFileName ()
XRefgetXRef ()
CataloggetCatalog ()
BaseStreamgetBaseStream ()
double getPageWidth (int page)
double getPageHeight (int page)
int getPageRotate (int page)
int getNumPages ()
GStringreadMetadata ()
ObjectgetStructTreeRoot ()
void displayPage (OutputDev *out, int page, double hDPI, double vDPI, int rotate, GBool crop, GBool doLinks, GBool(*abortCheckCbk)(void *data)=NULL, void *abortCheckCbkData=NULL)
void displayPages (OutputDev *out, int firstPage, int lastPage, double hDPI, double vDPI, int rotate, GBool crop, GBool doLinks, GBool(*abortCheckCbk)(void *data)=NULL, void *abortCheckCbkData=NULL)
void displayPageSlice (OutputDev *out, int page, double hDPI, double vDPI, int rotate, GBool crop, int sliceX, int sliceY, int sliceW, int sliceH, GBool(*abortCheckCbk)(void *data)=NULL, void *abortCheckCbkData=NULL)
int findPage (int num, int gen)
LinkActionfindLink (double x, double y)
GBool onLink (double x, double y)
LinkDestfindDest (GString *name)
OutlinegetOutline ()
GBool isEncrypted ()
GBool okToPrint (GBool ignoreOwnerPW=gFalse)
GBool okToChange (GBool ignoreOwnerPW=gFalse)
GBool okToCopy (GBool ignoreOwnerPW=gFalse)
GBool okToAddNotes (GBool ignoreOwnerPW=gFalse)
GBool isLinearized ()
ObjectgetDocInfo (Object *obj)
ObjectgetDocInfoNF (Object *obj)
double getPDFVersion ()
GBool saveAs (GString *name)


Constructor & Destructor Documentation

PDFDoc::PDFDoc GString   fileNameA,
GString   ownerPassword = NULL,
GString   userPassword = NULL
 

PDFDoc::PDFDoc BaseStream   strA,
GString   ownerPassword = NULL,
GString   userPassword = NULL
 

PDFDoc::~PDFDoc  
 


Member Function Documentation

void PDFDoc::displayPage OutputDev   out,
int    page,
double    hDPI,
double    vDPI,
int    rotate,
GBool    crop,
GBool    doLinks,
GBool(*    abortCheckCbk)(void *data) = NULL,
void *    abortCheckCbkData = NULL
 

void PDFDoc::displayPages OutputDev   out,
int    firstPage,
int    lastPage,
double    hDPI,
double    vDPI,
int    rotate,
GBool    crop,
GBool    doLinks,
GBool(*    abortCheckCbk)(void *data) = NULL,
void *    abortCheckCbkData = NULL
 

void PDFDoc::displayPageSlice OutputDev   out,
int    page,
double    hDPI,
double    vDPI,
int    rotate,
GBool    crop,
int    sliceX,
int    sliceY,
int    sliceW,
int    sliceH,
GBool(*    abortCheckCbk)(void *data) = NULL,
void *    abortCheckCbkData = NULL
 

LinkDest* PDFDoc::findDest GString   name [inline]
 

LinkAction* PDFDoc::findLink double    x,
double    y
[inline]
 

int PDFDoc::findPage int    num,
int    gen
[inline]
 

BaseStream* PDFDoc::getBaseStream   [inline]
 

Catalog* PDFDoc::getCatalog   [inline]
 

Object* PDFDoc::getDocInfo Object   obj [inline]
 

Object* PDFDoc::getDocInfoNF Object   obj [inline]
 

int PDFDoc::getErrorCode   [inline]
 

GString* PDFDoc::getFileName   [inline]
 

int PDFDoc::getNumPages   [inline]
 

Outline* PDFDoc::getOutline   [inline]
 

double PDFDoc::getPageHeight int    page [inline]
 

int PDFDoc::getPageRotate int    page [inline]
 

double PDFDoc::getPageWidth int    page [inline]
 

double PDFDoc::getPDFVersion   [inline]
 

Object* PDFDoc::getStructTreeRoot   [inline]
 

XRef* PDFDoc::getXRef   [inline]
 

GBool PDFDoc::isEncrypted   [inline]
 

GBool PDFDoc::isLinearized  
 

GBool PDFDoc::isOk   [inline]
 

GBool PDFDoc::okToAddNotes GBool    ignoreOwnerPW = gFalse [inline]
 

GBool PDFDoc::okToChange GBool    ignoreOwnerPW = gFalse [inline]
 

GBool PDFDoc::okToCopy GBool    ignoreOwnerPW = gFalse [inline]
 

GBool PDFDoc::okToPrint GBool    ignoreOwnerPW = gFalse [inline]
 

GBool PDFDoc::onLink double    x,
double    y
[inline]
 

GString* PDFDoc::readMetadata   [inline]
 

GBool PDFDoc::saveAs GString   name
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:50 2004 for Lemur Toolkit by doxygen1.2.18