/** * Insert column in the page. * * @param Phprojekt_Pdf_Page $page Current page. * @param integer $x Start position x. * @param integer $y Start position y. * * @return void */ public function render($page, $x, $y) { $fontSize = $page->getFontSize(); $size = $page->drawVariableText($this->_text, $x, $page->getHeight() - $y + $fontSize, $this->_width, $this->_align, $this->_encoding); $this->_height = $size['height'] + $page->tablePadding; $this->_width = $this->_width; }