Forum


Replies: 4   Views: 2135
How to get elements of a specific table.
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  · 19-07-2019 - 16:05

Hello,

You need to use getWordContents. As you can read on the API page (https://www.phpdocx.com/api-documentation/docx-path/get-text-word-contents-in-docx), you can query by its position, content, attributes or even a custom XPath query. Please check the included samples in the package.

Regards.