I have the below code which add a background color to the table row as below
$referenceNodeCell = array(
'type' => 'table-cell',
'parent' => '/',
'contains' => '${bgccr}',
);
$docx->customizeWordContent($referenceNodeCell,
array(
'backgroundColor' => 'FCE8DD',
)
);
$referenceNodeCell = array(
'type' => 'table-cell',
'customQuery' => '//w:tr[contains(., "${bgccr}")]/w:tc/w:tcPr',
);
$docx->customizeWordContent($referenceNodeCell,
array(
'backgroundColor' => 'FCE8DD',
)
);
Now i want to add border color to the cell after adding background color