X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/24694147d31511d51f2ccda4584c44a493297101..491e3ed8d9646fc86ccbf3ed9ed1593faedbe167:/lib/MECON/PDF/Marco.php diff --git a/lib/MECON/PDF/Marco.php b/lib/MECON/PDF/Marco.php index 5f9ae55..42fc4cb 100644 --- a/lib/MECON/PDF/Marco.php +++ b/lib/MECON/PDF/Marco.php @@ -116,12 +116,13 @@ class MECON_PDF_Marco extends MECON_PDF { * * @param string $tam Tamanio de las hojas. * @param string $ori Orientacion de las hojaz (portrait o landscape). + * @param string $nom Nombre del archivo. * * @return void * @access public */ - function MECON_PDF_Marco($tam = "a4", $ori = "portrait") { - $this->MECON_PDF($tam, $ori); + function MECON_PDF_Marco($tam = "a4", $ori = "portrait", $nom = 'Doc.pdf') { + $this->MECON_PDF($tam, $ori, $nom); $this->tamanio = $tam; $this->_resetConf(); $this->_separador_defecto =& new MECON_PDF_Separador(); @@ -263,7 +264,7 @@ class MECON_PDF_Marco extends MECON_PDF { $this->_resetConf(); $conf = $this->_config['encabezado']; if ($this->paginador) { - $txt = 'Pagina '.$this->numPage().' de '. + $txt = 'Página '.$this->numPage().' de '. $this->countPages(); $tmp = $this->strlen($txt, $conf['paginador']); $init = $conf['linea2']['Xi'] + ( $conf['Xf']