Hello,
You are right, but I found out that my problem is with the CreateDocxFromTemplate in version 6.2 the code below works perfectly well its add, but in version 8.2 its add a soft line after addText 'Question 1)' text:
$docx = new CreateDocxFromTemplate('Doc1.docx');
$content = new WordFragment($docx, 'document');
$content->addText('Question 1) ', array('fontSize' => 12, 'bold' => true));
$referenceNode = array(
'type' => 'paragraph',
'occurrence' => 1,
);
$docx->insertWordFragment($content, $referenceNode, 'inlineBefore', false);
$docx->createDocx('ResultDoc.docx' );
Can you help me with this?
Reguards,