summaryrefslogtreecommitdiff
path: root/poppler/PSOutputDev.h
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2011-09-01 15:47:32 +0200
committerAlbert Astals Cid <aacid@kde.org>2011-09-01 15:47:32 +0200
commit7d794f6411499fb8f26778bf2b54cb9734d004af (patch)
treedae831f724b22108dbc256896293a852b91b46f1 /poppler/PSOutputDev.h
parent52fb80a7b3f98eb8322a7ba84e2900f044b3a18a (diff)
xpdf303: API rework, Gfx wants a PDFDoc instead of an XRef
Diffstat (limited to 'poppler/PSOutputDev.h')
-rw-r--r--poppler/PSOutputDev.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/poppler/PSOutputDev.h b/poppler/PSOutputDev.h
index 3de590db..83aeb84a 100644
--- a/poppler/PSOutputDev.h
+++ b/poppler/PSOutputDev.h
@@ -78,7 +78,7 @@ class PSOutputDev: public OutputDev {
public:
// Open a PostScript output file, and write the prolog.
- PSOutputDev(const char *fileName, PDFDoc *doc, XRef *xrefA, Catalog *catalog,
+ PSOutputDev(const char *fileName, PDFDoc *docA,
char *psTitle,
int firstPage, int lastPage, PSOutMode modeA,
int paperWidthA = -1, int paperHeightA = -1,
@@ -91,8 +91,7 @@ public:
// Open a PSOutputDev that will write to a generic stream.
PSOutputDev(PSOutputFunc outputFuncA, void *outputStreamA,
char *psTitle,
- PDFDoc *doc,
- XRef *xrefA, Catalog *catalog,
+ PDFDoc *docA,
int firstPage, int lastPage, PSOutMode modeA,
int paperWidthA = -1, int paperHeightA = -1,
GBool duplexA = gTrue,
@@ -288,7 +287,7 @@ public:
private:
void init(PSOutputFunc outputFuncA, void *outputStreamA,
- PSFileType fileTypeA, char *pstitle, PDFDoc *doc, XRef *xrefA, Catalog *catalog,
+ PSFileType fileTypeA, char *pstitle, PDFDoc *doc,
int firstPage, int lastPage, PSOutMode modeA,
int imgLLXA, int imgLLYA, int imgURXA, int imgURYA,
GBool manualCtrlA, int paperWidthA, int paperHeightA,
@@ -394,8 +393,8 @@ private:
void (*overlayCbk)(PSOutputDev *psOut, void *data);
void *overlayCbkData;
+ PDFDoc *doc;
XRef *xref; // the xref table for this PDF file
- Catalog *m_catalog; // the catalog for this PDF file
Ref *fontIDs; // list of object IDs of all used fonts
int fontIDLen; // number of entries in fontIDs array