Forum


Replies: 1   Views: 3426
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 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.