Forum


Replies: 3   Views: 3081
How create letter-spacing for tabs in phpdocx?
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  · 09-09-2016 - 11:57

Hello,

These are the options available when working with tabs (http://officeopenxml.com/WPtab.php):

* '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

There's no option to change the spacing between dots, only its type, leader and position.

Regards.