]> git.llucax.com Git - mecon/meconlib.git/blobdiff - lib/MECON/PDF/Marco/medidas.php
BugFix. Cuando una celda no tenia nada como contenido habia problemas.
[mecon/meconlib.git] / lib / MECON / PDF / Marco / medidas.php
index 6ea8f56774912916b3890c7d6bee0f96bf6d0f86..578a378770bac23f02950e8f310ddbbe207b032b 100644 (file)
@@ -61,7 +61,7 @@ return array (
                                         'X' => 7,
                                         'Y' => 665,
                                         'path' =>
-                                        '/home/mmarrese/public_html/meconlib/www/images/pdf_logo_portrait.jpg',
+                                        '/var/www/meconlib/www/images/pdf_logo_portrait.jpg',
                                     ),
                                 'linea1' => array (
                                         'Xi' => 150,
@@ -123,7 +123,7 @@ return array (
                                         'X' => 7,
                                         'Y' => 521,
                                         'path' =>
-                                        '/home/mmarrese/public_html/meconlib/www/images/pdf_logo_landscape.jpg',
+                                        '/var/www/meconlib/www/images/pdf_logo_landscape.jpg',
                                     ),
                                 'linea1' => array (
                                         'Xi' => 150,
@@ -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' =>
+                                        '/var/www/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' =>
+                                        '/var/www/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,
+                                ),
+                        //}}}
+                    ), 
+                //}}}
+            ),
+        //}}}
         );
 
 ?>