Forum


Replies: 6   Views: 763
How can i get superscript and subscript from getwordcontent?
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-03-2023 - 10:10

Hello,

Sorry, but we don't understand your question. The getWordContents method returns text contents. Superscript and subscript are MS Word styles, not text contents, so you need to use getWordStyles if you need to query them.

Regards.