using PRO
I tried the follwing code:
require_once '../../classes/CreateDocx.inc';
$docx = new CreateDocx();
$text = array();
$text[] =
array(
'text' => 'Lorem ipsum',
'u' => 'single',
);
$text[] =
array(
'text' => ' sed do eiusmod tempor incididunt',
'b' => 'single',
);
And I perfectly got
the 1st element of the array underlined, and the secon in bold.
Now I want the 1st element to be aligned on the left and the second on
the right, ON THE SAME LINE.
I tried:
$text = array();
$text[] =
array(
'text' => 'Lorem ipsum',
'u' => 'single',
'jc' => 'left',
);
$text[] =
array(
'text' => ' sed do eiusmod tempor incididunt',
'b' => 'single',
'jc' => 'right',
);
but it is not working.
Any idea?
Thanks in advance.