Kaydet (Commit) 87635e13 authored tarafından Pedro Giffuni's avatar Pedro Giffuni

Update some poppler APIs.

This lets the pdfimport extension work at a basic level.
Unfortunately there' still a long way to go to get this functional.

Tested by:	Don Lewis
üst 36a5f9d8
......@@ -463,7 +463,7 @@ PDFOutDev::PDFOutDev( PDFDoc* pDoc ) :
{
}
void PDFOutDev::startPage(int /*pageNum*/, GfxState* state)
void PDFOutDev::startPage(int /*pageNum*/, GfxState* state, XRef* /*xref*/)
{
assert(state);
printf("startPage %f %f\n",
......@@ -476,7 +476,7 @@ void PDFOutDev::endPage()
printf("endPage\n");
}
void PDFOutDev::processLink(AnnotLink* link, Catalog*)
void PDFOutDev::processLink(AnnotLink* link)
{
assert(link);
......
......@@ -171,7 +171,7 @@ namespace pdfi
virtual void setDefaultCTM(double *ctm);
// Start a page.
virtual void startPage(int pageNum, GfxState *state);
virtual void startPage(int pageNum, GfxState *state, XRef *xref);
// End a page.
virtual void endPage();
......@@ -186,7 +186,7 @@ namespace pdfi
// virtual void cvtUserToDev(double ux, double uy, int *dx, int *dy);
//----- link borders
virtual void processLink(AnnotLink *link, Catalog *catalog);
virtual void processLink(AnnotLink *link);
//----- save/restore graphics state
virtual void saveState(GfxState *state);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment