Forum


Replies: 7   Views: 2409
Can't pass 'pstyle' from one wordfragment to another
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  · 12-08-2019 - 09:52

Hello,

A paragraph style can't be used as character style. They have their own tags and styles, some are the same but others are different; for example a character style can't have an outline level tag as paragraph styles.

If you can't generate the styles from scratch, you'd need to use importStyles that supports character styles too, but these character styles can only be applied to run-of-text contents.

Regards.