From: Martín Marrese Date: Mon, 1 Mar 2004 19:09:57 +0000 (+0000) Subject: Agrego un estilo comun_clara que en MECON_HTML_Tabla es igual a comun, pero en MECON_... X-Git-Tag: svn_import~97 X-Git-Url: https://git.llucax.com/mecon/meconlib.git/commitdiff_plain/990b536ab767ee0408d362297f9bc6226c1c2ac7?ds=sidebyside Agrego un estilo comun_clara que en MECON_HTML_Tabla es igual a comun, pero en MECON_PDF_Tabla representa un cambio en el tipo de letra. --- diff --git a/lib/MECON/HTML/Tabla.php b/lib/MECON/HTML/Tabla.php index 2a0f67e..345cf68 100644 --- a/lib/MECON/HTML/Tabla.php +++ b/lib/MECON/HTML/Tabla.php @@ -305,6 +305,11 @@ class MECON_HTML_Tabla extends HTML_Table { $rta = array_merge($rta, $tmp); $rta[$attr] = $attr; break; + case 'comun_clara': + $rta = array_merge($rta, + $this->_conf['atributos']["celda_comun"]); + $rta[$attr] = $attr; + break; default: trigger_error("No se permite setear el atributo $attr", E_USER_ERROR); } diff --git a/lib/MECON/PDF/Tabla/medidas.php b/lib/MECON/PDF/Tabla/medidas.php index 358fc61..d599f56 100644 --- a/lib/MECON/PDF/Tabla/medidas.php +++ b/lib/MECON/PDF/Tabla/medidas.php @@ -102,6 +102,31 @@ return array ( ), ), ), + //}}} + //CELDA COMUN CLARA {{{ + 'celda_comun_clara' => array ( + 'alto_linea' => 10, + 'font' => 'Helvetica', + 'height' => 8, + 'fillcolor' => array ( + 'red' => '0', + 'blue' => '0', + 'green' => '0', + ), + 'fill' => array ( + 'mode' => 'fill+stroke', + 'fillcolor' => array ( + 'red' => '1', + 'blue' => '1', + 'green' => '1', + ), + 'strokecolor' => array ( + 'red' => '0', + 'blue' => '0', + 'green' => '0' + ), + ), + ), //}}} ); ?>