]> git.llucax.com Git - mecon/meconlib.git/blobdiff - lib/MECON/PDF/Marco/medidas.php
Reestructuracion de todos los PDF
[mecon/meconlib.git] / lib / MECON / PDF / Marco / medidas.php
index c0b6ff68fe40da778626f3812acb91dbdd4e25b4..6ea8f56774912916b3890c7d6bee0f96bf6d0f86 100644 (file)
@@ -24,6 +24,25 @@ Autor:  Martin Marrese <mmarre@mecon.gov.ar>
 $Id$
 -----------------------------------------------------------------------------*/
 
 $Id$
 -----------------------------------------------------------------------------*/
 
+/**
+ * Este archivo contiene las coordenadas y estilos de los diferentes componentes
+ * de MECON_PDF_Marco. Las cordenadas Arrancan en (0,0)
+
+    Y ^
+      |
+   Yn +------------+  
+      |            |
+      |            |
+      |            |
+      |            |
+      |            |
+      |            |
+      |            |
+    0 +------------+----->
+      0            Xn    X
+ */
+
+
 /**
  * Medidas para cada formato de pagina.
  */
 /**
  * Medidas para cada formato de pagina.
  */
@@ -36,8 +55,8 @@ return array (
                         'encabezado' => array ( //Encabezado de cada pagina
                                 'Xi' => 0,
                                 'Xf' => 530,
                         'encabezado' => array ( //Encabezado de cada pagina
                                 'Xi' => 0,
                                 'Xf' => 530,
-                                'Yi' => 657,
-                                'Yf' => 700,
+                                'Yi' => 657,  
+                                'Yf' => 700, //Siempre debe representar la altura maxima de la pagina
                                 'logo' => array (
                                         'X' => 7,
                                         'Y' => 665,
                                 'logo' => array (
                                         'X' => 7,
                                         'Y' => 665,
@@ -90,67 +109,6 @@ return array (
                                     'height' => 13
                                 ),
                         //}}}
                                     '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 {{{
                     ),
                 //}}}
                 //LandScape {{{
@@ -213,67 +171,6 @@ return array (
                                     'height' => 13,
                                 ),
                         //}}}
                                     'height' => 13,
                                 ),
                         //}}}
-                        //Contenido {{{
-                        'contenido' => array (
-                                    'Y' => 422,
-                                ),
-                        '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',
-                                                ), 
-                                ),
-                        //}}}
                     ), 
                 //}}}
             ),
                     ), 
                 //}}}
             ),