/** * Start a new page by resetting the full flag. */ function next_document($page, $orientation) { $this->_floating_frames = array(); $this->_page_full = false; return $this->_renderer->new_page_size($page, $orientation); }