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 rusoleg  · 04-09-2016 - 16:25

Hello!

 

How I can create letter-spacing for tabs in phpDocx? 

I want to increase spacing between dots.

 

Posted by admin  · 04-09-2016 - 16:32

Hello,

Which version and license of phpdocx are you using?

Regards.

Posted by rusoleg  · 09-09-2016 - 06:54

PHPdocx 6.0  license: CORPORATE

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.