Replies: 7   Views: 1161
Insert link with the same formatting like common text
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-05-2021 - 10:27


The type value to be used depends on how the styles are being applied. For example, if the styles are applied as w:rPr to a w:r tag (run content), then you need to set run as type.

We recommend you to check the samples included in the package: samples/DocxPath/getWordStyles.