After updating phpdocx titles does not working correctly. The problem is that instead of the default styles there are styles signed as Heading 1 PHPDOCX. What would not be a problem if although they were correctly assigned to the titles. Therefore, the titles that do not work does not work well as a list of contents. Enclosed is an example php code
[code]require_once '../../classes/CreateDocx.inc';
$docx = new CreateDocx();
$docx->setLanguage('pl-PL');
$docx->addTableContents('Arial');
$paramsTitle = array(
'val' => 1,
'u' => 'single',
'font' => 'Blackadder ITC',
'sz' => 22
);
$docx->addTitle('Lorem ipsum dolor sit amet.', $paramsTitle);
$paramsTitle = array(
'val' => 1,
'u' => 'single',
'font' => 'Blackadder ITC',
'sz' => 22
);
$docx->addTitle('Lorem ipsum dolor sit amet.', $paramsTitle);
$paramsTitle = array(
'val' => 1,
'u' => 'single',
'font' => 'Blackadder ITC',
'sz' => 22
);
$docx->addTitle('Lorem ipsum dolor sit amet.', $paramsTitle);
$docx->createDocx('../docx/example_tablecontents');[/code]
Did You had the same problem?
Regards