Forum


Replies: 2   Views: 570
Bold page numbers using phpdocx_pagenumber ?
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 skinhat  · 19-05-2022 - 09:30

Thanks. Using paragraph styles worked. I used:
 

$style = array('bold'=>true);
$docx->createParagraphStyle('myStyle', $style);

then

<phpdocx_pagenumber data-target="defaultFooter"  data-pStyle="myStyle" data-textAlign="right" />

and got bold page numbers.