Replies: 10   Views: 277
Upgrade guide from version 5 corporate to 9 advanced

Posted by Bouillou  · 20-06-2019 - 11:10

Thank you, the upgrade has been successfully done (for a simple basic document generation from a template at least.)

The goal of this upgrade is to use the new method getWordStyles to retrieve the font size of the style Normal.

Discussed in topic :

So, I do :

$referenceNode = array(
    'type' => 'style',
    'contains' => 'Normal',
$normalStyleContents = $this->docx->getWordStyles($referenceNode);

But, I am just retriving a large multidimentional array containing a lot of data, but no font-size.

Can you help me to retrieve the font size of the Normal style please?

Best regards