-----------------------------------------------------------------------------*/
/**
- * 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 (
- '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,
+ 'Xi' => 0,
+ 'Xf' => 530,
+ 'Yi' => 657,
+ 'Yf' => 700, //Siempre debe representar la altura maxima de la pagina
'logo' => array (
- 'X' => -33,
+ 'X' => 7,
'Y' => 665,
+ 'path' =>
+ '/MECON/images/pdf_logo_portrait.jpg',
),
'linea1' => array (
- 'Xi' => 110,
- 'Xf' => 110,
+ 'Xi' => 150,
+ 'Xf' => 150,
'Yi' => 657,
'Yf' => 700,
),
'linea2' => array (
- 'Xi' => 404,
- 'Xf' => 404,
+ 'Xi' => 444,
+ 'Xf' => 444,
'Yi' => 657,
'Yf' => 700,
),
- 'linea3' => array (
- 'Xi' => -40,
- 'Xf' => 110,
- 'Yi' => 657,
- 'Yf' => 666,
- ),
'seccion' => array (
'Y' => 685,
'font' => 'Helvetica-Bold',
//}}}
//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' =>
+ '/MECON/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,
+ 'font' => 'Helvetica-Bold',
+ 'height' => 16,
+ ),
+ 'subtitulo' => array (
+ 'Y' => 445,
+ 'font' => 'Helvetica',
+ 'height' => 13,
+ ),
+ //}}}
+ ),
+ //}}}
+ ),
+ //}}}
+ // 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' =>
+ '/MECON/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' =>
+ '/MECON/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,
+ ),
+ //}}}
+ ),
//}}}
),
//}}}