Is there a way to set tick the checkboxes like in: http://www.phpdocx.com/api-documentation/templates/ticks-a-checbox-Word-document for a table?
We have a table that has checkboxes within the template row. e.g.
$BLOCK_TABLE$
Table header row
$VAR_ROW_NAME$, $CHECK_IS_OPEN$
$BLOCK_TABLE$
The data I have is like:
$tableData = array(
array(
'VAR_ROW_NAME' => 'Monday'
, 'CHECK_IS_OPEN' => 0
),
array(
'VAR_ROW_NAME' => 'Tuesday'
, 'CHECK_IS_OPEN' => 1
)
);
$docx->addTemplateVariable($tableData, 'table', array('header' => false));
Thanks in advance.