Forum


Replies: 2   Views: 1484
How to insert a table at a specific location
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  · 30-09-2020 - 15:27

Hello,

You can use replaceVariableByWordFragment to replace a placeholder by one or more contents, for example a table, an image or others.

To add a table in a specific position you can use insertWordFragment available in DOCXPath in Advanced and Premium licenses.

We recommend you to check the included samples available in the package. You just need to generate a WordFragment and call the chosen method.

Regards.