]> git.llucax.com Git - mecon/meconlib.git/blobdiff - lib/MECON/PDF/Marco/medidas.php
Se modifica el método acumular para que las secuencias se pinten automáticamente...
[mecon/meconlib.git] / lib / MECON / PDF / Marco / medidas.php
index 6ea8f56774912916b3890c7d6bee0f96bf6d0f86..9c50b293634a446a9b8eeae58414e5973af9df6c 100644 (file)
@@ -175,6 +175,134 @@ return array (
                 //}}}
             ),
         //}}}
+        // OFICIO {{{
+        'legal' => array (
+                //Portrait {{{ 
+                'portrait' => array (
+                        //Encabezado {{{
+                        'encabezado' => array ( //Encabezado de cada pagina
+                                'Xi' => 0,
+                                'Xf' => 540,
+                                'Yi' => 821,  
+                                'Yf' => 864, //Siempre debe representar la altura maxima de la pagina
+                                'logo' => array (
+                                        'X' => 7,
+                                        'Y' => 829,
+                                        'path' =>
+                                        '/home/mmarrese/public_html/meconlib/www/images/pdf_logo_portrait.jpg',
+                                    ),
+                                'linea1' => array (
+                                        'Xi' => 150,
+                                        'Xf' => 150,
+                                        'Yi' => 821,
+                                        'Yf' => 864,
+                                    ),
+                                'linea2' => array (
+                                        'Xi' => 454,
+                                        'Xf' => 454,
+                                        'Yi' => 821,
+                                        'Yf' => 864,
+                                    ),
+                                'seccion' => array (
+                                        'Y'      => 849,
+                                        'font'   => 'Helvetica-Bold',
+                                        'height' => 12,
+                                    ),
+                                'subseccion' => array (
+                                        'Y'      => 828,
+                                        'font'   => 'Helvetica',
+                                        'height' => 12,
+                                    ),
+                                'paginador' => array (
+                                        'Y'      => 849,
+                                        'font'   => 'Helvetica',
+                                        'height' => 9,
+                                    ),
+                                'fecha' => array (
+                                        'Y'      => 828,
+                                        'font'   => 'Helvetica',
+                                        'height' => 9,
+                                    ),
+                            ),
+                        //}}}
+                        //Titulos {{{
+                        'titulo' => array (
+                                    'Y'      => 794,
+                                    'font'   => 'Helvetica-Bold',
+                                    'height' => 16,
+                                ),
+                        'subtitulo' => array (
+                                    'Y'      => 779,
+                                    'font'   => 'Helvetica',
+                                    'height' => 13
+                                ),
+                        //}}}
+                    ),
+                //}}}
+                //LandScape {{{
+                'landscape' => array (
+                        //Encabezado {{{
+                        'encabezado' => array ( //Encabezado de cada pagina
+                                'Xi' => 0,
+                                'Yi' => 497,
+                                'Xf' => 864,
+                                'Yf' => 540,
+                                'logo' => array (
+                                        'X' => 7,
+                                        'Y' => 531,
+                                        'path' =>
+                                        '/home/mmarrese/public_html/meconlib/www/images/pdf_logo_landscape.jpg',
+                                    ),
+                                'linea1' => array (
+                                        'Xi' => 150,
+                                        'Xf' => 150,
+                                        'Yi' => 497,
+                                        'Yf' => 540,
+                                    ),
+                                'linea2' => array (
+                                        'Xi' => 778,
+                                        'Xf' => 778,
+                                        'Yi' => 497,
+                                        'Yf' => 540,
+                                    ),
+                                'seccion' => array (
+                                        'Y'      => 525,
+                                        'font'   => 'Helvetica-Bold',
+                                        'height' => 12,
+                                    ),
+                                'subseccion' => array (
+                                        'Y'      => 504,
+                                        'font'   => 'Helvetica',
+                                        'height' => 12,
+                                    ),
+                                'paginador' => array (
+                                        'Y'      => 525,
+                                        'font'   => 'Helvetica',
+                                        'height' => 9,
+                                    ),
+                                'fecha' => array (
+                                        'Y'      => 504,
+                                        'font'   => 'Helvetica',
+                                        'height' => 9,
+                                    ),
+                            ),
+                        //}}}
+                        //Titulos {{{
+                        'titulo' => array (
+                                    'Y'      => 470,
+                                    'font'   => 'Helvetica-Bold',
+                                    'height' => 16,
+                                ),
+                        'subtitulo' => array (
+                                    'Y'      => 455,
+                                    'font'   => 'Helvetica',
+                                    'height' => 13,
+                                ),
+                        //}}}
+                    ), 
+                //}}}
+            ),
+        //}}}
         );
 
 ?>