Replies: 4   Views: 3163
Howto number page
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by web.aseqroo  · 13-06-2013 - 18:59

Hola, como puedo concatenar addPageNumber con un texto, que quede de la siguiente forma "Página 1", etc. Y dos addList no respeta el formato de parrafo que le pongo aun haciendolo de la siguiente forma:

$texto = array();

$texto[] = array('text' => utf8_encode('Item 1'));

$txt = $docx->addText($texto, array('sz'=>11, 'jc'=>'both', 'rawWordML' => true));

$textoML = $docx->createWordMLFragment($txt);

$itemsList = array($textoML)

$options = array(

    'val' => 1


$docx->addList($itemsList, $options);