Forum


Replies: 8   Views: 4087
Header styles in wordstyles in embedhtml
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 HalloWelt  · 11-04-2013 - 12:13

Hi,

Thanks for the hint.

[code]
$oPHPDocX = new CreateDocx();
$oPHPDocX->addTemplate( $sUploadPath.'/template/Template.docx' );
var_dump( $oPHPDocX->parseStyles() );

[/code]

returns null.

The same is

[code]
var_dump( $oPHPDocX->parseStyles( $sUploadPath.'/template/Template.docx' ) );
[/code]

Maybe there is a problem with my template?