Forum


Replies: 4   Views: 794
Negrita en el texto que enlaza a la nota al pie
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 rmartinez  · 07-10-2020 - 14:30

Buenas.

Utilizando código similar al siguiente:

$footnote = new WordFragment($docx, 'document');
$footnote->addFootnote(
        array(
                'textDocument' => 'palabra',
                'textFootnote' => 'Descripción.',
                'footnoteMark' => array(
                  'bold' => true
                )
        )
);
$text = [['text' => 'Inicio ...'], $footnote, ['text' => '... fin.']];
$wf->addText($text);

tanto "palabra" como "Descripción", me aparecen en negrita. ¿No existe una manera de que solo 'palabra' aparezca en negrita?

Gracias.

Saludos.