]> git.llucax.com Git - mecon/meconlib.git/blobdiff - lib/MECON/PDF/Marco/medidas.php
- Correccion de bugs
[mecon/meconlib.git] / lib / MECON / PDF / Marco / medidas.php
index 1dbb57cd03d264af8c4f6c39e8fa7acc601bbf1f..153db16b4b7a02cfbbb69223ade099f23838f451 100644 (file)
@@ -25,68 +25,32 @@ $Id$
 -----------------------------------------------------------------------------*/
 
 /**
 -----------------------------------------------------------------------------*/
 
 /**
- * Medidas para cada formato de pagina.
+ * 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.
+ */
 return array (
         // A4 {{{
         'a4' => array (
                 //Portrait {{{ 
                 'portrait' => array (
 return array (
         // A4 {{{
         'a4' => array (
                 //Portrait {{{ 
                 'portrait' => array (
-                        'Xi' => -40,  //Esquina inferior izquierda
-                        'Xf' => 490,  //Esquina inferior derecha
-                        'Yi' => -110, //Esquina inferior izquierda
-                        'Yf' => 700,  //Esquina superior izquierda
-                        //Encabezado {{{
-                        'encabezado' => array ( //Encabezado de cada pagina
-                                'Xi' => -40,
-                                'Xf' => 490,
-                                'Yi' => 657,
-                                'Yf' => 700,
-                                'logo' => array (
-                                        'X' => -33,
-                                        'Y' => 665,
-                                    ),
-                                'linea1' => array (
-                                        'Xi' => 110,
-                                        'Xf' => 110,
-                                        'Yi' => 657,
-                                        'Yf' => 700,
-                                    ),
-                                'linea2' => array (
-                                        'Xi' => 404,
-                                        'Xf' => 404,
-                                        'Yi' => 657,
-                                        'Yf' => 700,
-                                    ),
-                                'linea3' => array (
-                                        'Xi' => -40,
-                                        'Xf' => 110,
-                                        'Yi' => 657,
-                                        'Yf' => 666,
-                                    ),
-                                'seccion' => array (
-                                        'Y'      => 685,
-                                        'font'   => 'Helvetica-Bold',
-                                        'height' => 12,
-                                    ),
-                                'subseccion' => array (
-                                        'Y'      => 664,
-                                        'font'   => 'Helvetica',
-                                        'height' => 12,
-                                    ),
-                                'paginador' => array (
-                                        'Y'      => 685,
-                                        'font'   => 'Helvetica',
-                                        'height' => 9,
-                                    ),
-                                'fecha' => array (
-                                        'Y'      => 664,
-                                        'font'   => 'Helvetica',
-                                        'height' => 9,
-                                    ),
-                            ),
-                        //}}}
                         //Titulos {{{
                         'titulo' => array (
                                     'Y'      => 630,
                         //Titulos {{{
                         'titulo' => array (
                                     'Y'      => 630,
@@ -103,7 +67,55 @@ return array (
                 //}}}
                 //LandScape {{{
                 'landscape' => array (
                 //}}}
                 //LandScape {{{
                 'landscape' => array (
-                        ),
+                        //Titulos {{{
+                        'titulo' => array (
+                                    'Y'      => 460,
+                                    'font'   => 'Helvetica-Bold',
+                                    'height' => 16,
+                                ),
+                        'subtitulo' => array (
+                                    'Y'      => 445,
+                                    'font'   => 'Helvetica',
+                                    'height' => 13,
+                                ),
+                        //}}}
+                    ), 
+                //}}}
+            ),
+        //}}}
+        // OFICIO {{{
+        'legal' => array (
+                //Portrait {{{ 
+                'portrait' => array (
+                        //Titulos {{{
+                        'titulo' => array (
+                                    'Y'      => 794,
+                                    'font'   => 'Helvetica-Bold',
+                                    'height' => 16,
+                                ),
+                        'subtitulo' => array (
+                                    'Y'      => 779,
+                                    'font'   => 'Helvetica',
+                                    'height' => 13
+                                ),
+                        //}}}
+                    ),
+                //}}}
+                //LandScape {{{
+                'landscape' => array (
+                        //Titulos {{{
+                        'titulo' => array (
+                                    'Y'      => 470,
+                                    'font'   => 'Helvetica-Bold',
+                                    'height' => 16,
+                                ),
+                        'subtitulo' => array (
+                                    'Y'      => 455,
+                                    'font'   => 'Helvetica',
+                                    'height' => 13,
+                                ),
+                        //}}}
+                    ), 
                 //}}}
             ),
         //}}}
                 //}}}
             ),
         //}}}