Forum


Replies: 3   Views: 3163
Captions for tables and images
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-03-2017 - 08:30

Hello,

UPDATE: phpdocx 10 added a caption option in addTable.

The method addImage includes the option 'caption':

http://www.phpdocx.com/api-documentation/word-content/insert-image-Word-document-with-PHP

The method addTable doesn't include it, but you can use any template to generate the DOCX replacing tables, images, caption values, adding new values...

We recommend you to read the documentation available on:

http://www.phpdocx.com/documentation

Regards.