is there a way to define the width for a table column and second question would it be possible to give the L1 rows a different background color than the L2 rows?
[code]
require_once 'classes/CreateDocx.inc';
$docx = new CreateDocx();
$valuesTable = array(
array(
'L1',
'L1'
),
array(
'L2',
'L2'
),
);
$paramsTable = array(
'border' => 'single',
'border_sz' => 20
);
$docx->addTable($valuesTable, $paramsTable);
$docx->createDocx('example_table');
[/code]
Thanks for your help