mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
fix build with git version of poppler
This commit is contained in:
parent
d38697d890
commit
b7ffd969e5
@ -147,7 +147,9 @@ class HTMLRenderer : public OutputDev
|
||||
virtual void setDefaultCTM(double *ctm);
|
||||
|
||||
// Start a page.
|
||||
// UGLY: These 2 versions are for different versions of poppler
|
||||
virtual void startPage(int pageNum, GfxState *state);
|
||||
virtual void startPage(int pageNum, GfxState *state, XRef * xref);
|
||||
|
||||
// End a page.
|
||||
virtual void endPage();
|
||||
|
@ -134,6 +134,11 @@ void HTMLRenderer::setDefaultCTM(double *ctm)
|
||||
}
|
||||
|
||||
void HTMLRenderer::startPage(int pageNum, GfxState *state)
|
||||
{
|
||||
startPage(pageNum, state, nullptr);
|
||||
}
|
||||
|
||||
void HTMLRenderer::startPage(int pageNum, GfxState *state, XRef * xref)
|
||||
{
|
||||
this->pageNum = pageNum;
|
||||
this->pageWidth = state->getPageWidth();
|
||||
|
Loading…
Reference in New Issue
Block a user