Hi i have a problem with the professional vesion. I can't write a table in the template.... please help me!!
Thanks
Estuardo Ramazzini
<?php
$legends = array(
    'legend1' => array(10, 11, 12),
    'legend2' => array(30, 21, 12),
    'legend3' => array(40, 41, 42)
);
    /////////////////TABLA
   $paramsTable = array(
    'data' => $valuesTable,
    'TBLLOOKval' => 'ffff01E0',
    'TBLSTYLEval' => 'Tablanormal',
    'TBLWtype' => 'center',
    'TBLWw' => '50',
    'border' => 'single',
    'border_sz' => 20,
    'border_spacing' => 0,
    'border_color' => 'ff0000',
    'jc' => 'center',
    'size_col' => 1200
   );
   $docx->addTemplateVariable('TABLA','plantillas/pt_orden_produccion.docx',$paramsTable);
   //$docx->addTable($valuesTable, $paramsTable);
   $docx->createDocx('example_header_and_footer.docx');
   echo "<a href='example_header_and_footer.docx'>Descargar RTF</a>";
   print_r ($valuesTable);
?>