X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/c97c1e9e59f9f31dd1519af794853e320de7c4e4..4e2b23709b38cf3c27379a4051243b1ac93bd1f2:/lib/MECON/PDF/Texto.php?ds=sidebyside 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