Replies: 7   Views: 1128
Problem with inline style
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  · 20-07-2020 - 10:20


Only the type option allows a wildcard, as the documentation details:

type  string  * (all), break, image, list, paragraph, run, section, style, table, table-row, table-cell.

The attributes option needs a specific key and value:

attributes  array  Contains a specific attribute key and value.

Sorry but as explained in our previous reply, footnotes aren't supported yet as target with customizeWordContents. These are the supported targets:

target string document (default), style, lastSection, header, footer

Supporting other targets such as footnotes and comments with customizeWordContents are a work in progress that isn't yet ready to be used in production servers.