protected function getLastAbsoluteX()
    {
        for ($k=count($this->table)-1; $k>=0; $k--) {
            if ($this->table[$k]['x'] && $this->table[$k]['position']) {
                return $this->table[$k]['x'];
            }
        }
        return $this->pdf->getlMargin();
    }