Forum


Replies: 3   Views: 3530
How do i change the styling of a heading 1, heading 2, etc?
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 admin  · 10-06-2016 - 13:03

Hello,

UPDATE: DOCXCustomizer, available in Premium licenses since phpdocx 7.0, allows to change existing styles on-the-fly.

The current version of phpdocx doesn't support changing existing styles, only create, add and import them. You can use a custom DOCX as base template with the styles you need.

The new DOCXPath (http://www.phpdocx.com/documentation/introduction/docxpath) allows to change the body content dynamically, and in the future this same class will be used to support changing other contents such as styles, headers, footers...

Regards.