]> git.llucax.com Git - mecon/meconlib.git/blobdiff - lib/MECON/PDF/Marco/medidas.php
BugFix.
[mecon/meconlib.git] / lib / MECON / PDF / Marco / medidas.php
index 6ea8f56774912916b3890c7d6bee0f96bf6d0f86..153db16b4b7a02cfbbb69223ade099f23838f451 100644 (file)
@@ -51,52 +51,6 @@ return array (
         'a4' => array (
                 //Portrait {{{ 
                 'portrait' => array (
-                        //Encabezado {{{
-                        'encabezado' => array ( //Encabezado de cada pagina
-                                'Xi' => 0,
-                                'Xf' => 530,
-                                'Yi' => 657,  
-                                'Yf' => 700, //Siempre debe representar la altura maxima de la pagina
-                                'logo' => array (
-                                        'X' => 7,
-                                        'Y' => 665,
-                                        'path' =>
-                                        '/home/mmarrese/public_html/meconlib/www/images/pdf_logo_portrait.jpg',
-                                    ),
-                                'linea1' => array (
-                                        'Xi' => 150,
-                                        'Xf' => 150,
-                                        'Yi' => 657,
-                                        'Yf' => 700,
-                                    ),
-                                'linea2' => array (
-                                        'Xi' => 444,
-                                        'Xf' => 444,
-                                        'Yi' => 657,
-                                        'Yf' => 700,
-                                    ),
-                                '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,
@@ -113,52 +67,6 @@ return array (
                 //}}}
                 //LandScape {{{
                 'landscape' => array (
-                        //Encabezado {{{
-                        'encabezado' => array ( //Encabezado de cada pagina
-                                'Xi' => 0,
-                                'Yi' => 487,
-                                'Xf' => 700,
-                                'Yf' => 530,
-                                'logo' => array (
-                                        'X' => 7,
-                                        'Y' => 521,
-                                        'path' =>
-                                        '/home/mmarrese/public_html/meconlib/www/images/pdf_logo_landscape.jpg',
-                                    ),
-                                'linea1' => array (
-                                        'Xi' => 150,
-                                        'Xf' => 150,
-                                        'Yi' => 487,
-                                        'Yf' => 530,
-                                    ),
-                                'linea2' => array (
-                                        'Xi' => 614,
-                                        'Xf' => 614,
-                                        'Yi' => 487,
-                                        'Yf' => 530,
-                                    ),
-                                'seccion' => array (
-                                        'Y'      => 515,
-                                        'font'   => 'Helvetica-Bold',
-                                        'height' => 12,
-                                    ),
-                                'subseccion' => array (
-                                        'Y'      => 494,
-                                        'font'   => 'Helvetica',
-                                        'height' => 12,
-                                    ),
-                                'paginador' => array (
-                                        'Y'      => 515,
-                                        'font'   => 'Helvetica',
-                                        'height' => 9,
-                                    ),
-                                'fecha' => array (
-                                        'Y'      => 494,
-                                        'font'   => 'Helvetica',
-                                        'height' => 9,
-                                    ),
-                            ),
-                        //}}}
                         //Titulos {{{
                         'titulo' => array (
                                     'Y'      => 460,
@@ -175,6 +83,42 @@ return array (
                 //}}}
             ),
         //}}}
+        // 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,
+                                ),
+                        //}}}
+                    ), 
+                //}}}
+            ),
+        //}}}
         );
 
 ?>