I'm almost done but I'm having a issue with the creation of the TOC.
A little snipset:
[code]
$docx->addTableContents();
$docx->addTitle('SomeTitle', array(
'val' => 1,
'u' => 'single',
'font' => 'Blackadder ITC',
'sz' => 22));
.........
[/code]
Now when I download and open the docx file, I can see the TOC is requesting for a update (press F9)
Also I see my title's rendered correctly.
However when I update my TOC, it says that no "words" can be found, and I have to add all the titles manually to the TOC.
Is this normal behaviour or am I doing something wrong?