void BitmapOutputDev::endPage()
{
msg("<verbose> endPage (BitmapOutputDev)");
+
+ /* notice: we're not fully done yet with this page- there might still be
+ a few calls to drawLink() yet to come */
+}
+void BitmapOutputDev::finishPage()
+{
+ msg("<verbose> finishPage (BitmapOutputDev)");
gfxdev->endPage();
if(layerstate == STATE_BITMAP_IS_ABOVE) {
rgbdev->endPage();
clip0dev->endPage();
clip1dev->endPage();
-
- /* notice: we're not fully done yet with this page- there might still be
- a few calls to drawLink() yet to come */
}
GBool BitmapOutputDev::upsideDown()
virtual void startPage(int pageNum, GfxState *state, double x1,double y1,double x2,double y2);
virtual void endPage();
+ virtual void finishPage();
virtual void saveState(GfxState *state);
virtual void restoreState(GfxState *state);
virtual void setParameter(const char*key, const char*value) = 0;
virtual void preparePage(int pdfpage, int outputpage) = 0;
+ virtual void finishPage() {};
};
#endif //__deviceinterface_h__
}
pi->doc->displayPage((OutputDev*)pi->outputDev, page->nr, zoom*multiply, zoom*multiply, /*rotate*/0, true, true, /*doLinks*/(int)1);
pi->doc->processLinks((OutputDev*)pi->outputDev, page->nr);
+ pi->outputDev->finishPage();
+
pi->outputDev->setDevice(0);
if(pi->middev) {
gfxdevice_rescale_setdevice(pi->middev, 0x00000000);