Update Styles.php
automatic-styles should be closed before opening master-styles. This will prevent issue that styles wont work in future if you implement styling for ODT writer....
This commit is contained in:
parent
4decaffd53
commit
a55405e655
@ -52,8 +52,8 @@ class Styles extends AbstractPart
|
||||
// Automatic styles
|
||||
$xmlWriter->startElement('office:automatic-styles');
|
||||
$this->writePageLayout($xmlWriter);
|
||||
$this->writeMaster($xmlWriter);
|
||||
$xmlWriter->endElement();
|
||||
$this->writeMaster($xmlWriter);
|
||||
|
||||
$xmlWriter->endElement(); // office:document-styles
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user