X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/be854ac991d019300143e9383900da56ef2f9a69..9811968174c1c6218a5595b93557f490b80261c7:/lib/MLIB/PDF/Tabla.php?ds=sidebyside diff --git a/lib/MLIB/PDF/Tabla.php b/lib/MLIB/PDF/Tabla.php index 10f8385..3934abd 100644 --- a/lib/MLIB/PDF/Tabla.php +++ b/lib/MLIB/PDF/Tabla.php @@ -280,7 +280,8 @@ class MLIB_PDF_Tabla extends MLIB_PDF_Contenido { $rep = array (); $rep = $this->_tabla->getCellAttributes($i, $j); - if (@$rep['cabecera'] || @$rep['titulo']) { + if (@$rep['cabecera'] || @$rep['titulo'] || + @$this->_config[$rep['mlib_style']]['repeat'] ) { $repetir[$i][$j] = $txt; $repetir[$i]['max'] = $max; } @@ -364,7 +365,7 @@ class MLIB_PDF_Tabla extends MLIB_PDF_Contenido { //Ubico el texto segun su alineacion $init = $this->_obtenerAlineacionTexto($i, $j, $t, $attr2, $estilo); - + $this->_marco->addText($init, $alto1 + 2, $t, $estilo, null, $orientacion); }