Hi
I have code:
$docx = new CreateDocxFromTemplate($filename);
$comment = new WordFragment($docx, 'document');
$comment->addComment(
array(
'textDocument' => $matchINS[1][$k],
'textComment' => 'Added: '. $matchINS[1][$k],
'initials' => 'WS',
'author' => 'sato',
'date' => date("j F Y")
)
);
$docx->replaceVariableByWordFragment(array('TGP'.$k.'BEG' => $comment), array('type' => 'inline'));
$docx->createDocx($filename);
And after save font-size decrements after replaced variable, also font-face changed to another. How fix this.
example after replace
“Test test (101) "
test test test.