From: Martín Marrese Date: Wed, 21 Apr 2004 17:15:13 +0000 (+0000) Subject: Agrego nueva funcionalidad a MECON_PDF_Texto. X-Git-Tag: svn_import~60 X-Git-Url: https://git.llucax.com/mecon/meconlib.git/commitdiff_plain/4e2b23709b38cf3c27379a4051243b1ac93bd1f2 Agrego nueva funcionalidad a MECON_PDF_Texto. --- diff --git a/lib/MECON/PDF/Texto.php b/lib/MECON/PDF/Texto.php index fa54b06..2363af1 100644 --- a/lib/MECON/PDF/Texto.php +++ b/lib/MECON/PDF/Texto.php @@ -282,5 +282,15 @@ class MECON_PDF_Texto extends MECON_PDF_Contenido { function setEstilo($pos, $estilo) { $this->_estilos[$pos] = $estilo; } + + /** + * Funcion que devuelve el numero de parrafos que hay cargados. + * + * @access public + * @return int + */ + function cantParrafos() { + return count($this->_parrafos); + } } ?> \ No newline at end of file