#include "Link.h"
class GString;
+class BaseStream;
class XRef;
class Catalog;
class OutputDev;
public:
PDFDoc(GString *fileName1);
+ PDFDoc(BaseStream *str);
~PDFDoc();
// Was PDF document successfully opened?
private:
+ GBool setup();
+ void checkHeader();
void getLinks(int page);
GString *fileName;
FILE *file;
+ BaseStream *str;
XRef *xref;
Catalog *catalog;
Links *links;