Forum


Replies: 4   Views: 3057
How to work with tabs?
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 Icemann3000  · 17-08-2011 - 13:58

Hello,

in our company we´ve recently purchased the PRO-Version, especially for using/working with Tabs, but ít´s not really clear how to handle these.

We need to place multiple tab at a specific position.

But, how can we do this?

We´ve tryed:

[code]
$text[] = array( 'text' => 'test1', 'b' => 'single','tabs'=>'100');
$text[] = array( 'text' => 'test2', 'tabs'=>'200');
$docx->addText($text);
[/code]

It makes a "tab" in front of each text, but we couldn´t place it corretly to a specific position ??

Cheers
Michael