X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/53dea79e14a592c07d0211cb7a7d93949c231fe1..c3b42bba0c46c9510b6ca095dfab862ff97170e6:/lib/MECON/PDF/Marco/medidas.php?ds=inline diff --git a/lib/MECON/PDF/Marco/medidas.php b/lib/MECON/PDF/Marco/medidas.php index 1dbb57c..ca4981a 100644 --- a/lib/MECON/PDF/Marco/medidas.php +++ b/lib/MECON/PDF/Marco/medidas.php @@ -27,7 +27,6 @@ $Id$ /** * Medidas para cada formato de pagina. */ - return array ( // A4 {{{ 'a4' => array ( @@ -35,7 +34,7 @@ return array ( 'portrait' => array ( 'Xi' => -40, //Esquina inferior izquierda 'Xf' => 490, //Esquina inferior derecha - 'Yi' => -110, //Esquina inferior izquierda + 'Yi' => -50, //Esquina inferior izquierda 'Yf' => 700, //Esquina superior izquierda //Encabezado {{{ 'encabezado' => array ( //Encabezado de cada pagina @@ -99,6 +98,67 @@ return array ( 'height' => 13 ), //}}} + //Contenido {{{ + 'contenido' => array ( + 'Y' => 580, + ), + 'celda_cabecera' => array ( + 'alto_linea' => 13, + 'font' => 'Helvetica-Bold', + 'height' => 11, + 'fillcolor' => array ( + 'red' => '1', + 'blue' => '1', + 'green' => '1', + ), + 'fill' => array ( + 'mode' => 'fill+stroke', + 'fillcolor' => array ( + 'red' => '.3', + 'blue' => '.3', + 'green' => '.3', + ), + 'strokecolor' => array ( + 'red' => '0', + 'blue' => '0', + 'green' => '0' + ), + ), + ), + 'celda_titulo' => array ( + 'alto_linea' => 13, + 'font' => 'Helvetica-Bold', + 'height' => 11, + 'fillcolor' => array ( + 'red' => '0', + 'blue' => '0', + 'green' => '0', + ), + 'fill' => array ( + 'mode' => 'fill+stroke', + 'fillcolor' => array ( + 'red' => '.7', + 'blue' => '.7', + 'green' => '.7', + ), + 'strokecolor' => array ( + 'red' => '0', + 'blue' => '0', + 'green' => '0' + ), + ), + ), + 'celda_comun' => array ( + 'alto_linea' => 10, + 'font' => 'Helvetica-Bold', + 'height' => 8, + 'fillcolor' => array ( + 'red' => '0', + 'blue' => '0', + 'green' => '0', + ), + ), + //}}} ), //}}} //LandScape {{{