Forum


Replies: 1   Views: 3271
Tabulation in word
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 rusoleg  · 28-07-2016 - 13:43

How add to documunt tabulation? 

I want to use tabulation in table. I can do this by Office Word. Look like this: 

https://yadi.sk/i/OEyMbmIjti8Gy

Posted by admin  · 29-07-2016 - 06:41

Hello,

You can add tabs using the addText method (standalone or in WordFragments to be added in tables, lists..). These are the related options:

'tab' (boolean) inserts a tab. Default value is false
* 'tabPositions' (array) each entry is an associative array with the following keys and values
     *      'type' (string) can be clear, left (default), center, right, decimal, bar and num
     *      'leader' (string) can be none (default), dot, hyphen, underscore, heavy and middleDot
     *      'position' (int) given in twentieths of a point

Regards.