call endPage of GFXOutputDev *before* flushing all text/polygon output