hi,
I need to chance the color of txt acoording to it's content ,
so i am using "WordFragment" :
$OwnFragment = new WordFragment($docx, 'document');
$textOwn = array();
if ($vownership === 'חסר') {
$textOwn[]=array(
'text' => $vownership,
'color' => 'red'
);
$OwnFragment->addText($textOwn);
and then push it into cell in table .
'OWN'=>$OwnFragment,
this small change takes over an hour to acomplish , and somtims it even fails.
is there a better way of doing what i need ?
best
iris hadar