Forum


Replies: 1   Views: 3580
Wordfragment embedhtml stopped working
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by oapl  · 27-01-2015 - 13:06

Hi, we were using following code and it worked fine but suddenly it stopped showing images. $wf_img_text = new WordFragment($docx); $wf_img_text->embedHTML('
Figure '.$row['sequence_no'].': '.$legend.'',array('downloadImages'=>true)); //$wf_img[$seq] = new WordFragment($docx); $textBoxOptions1 = array( 'align' => 'left', 'border' => 0, 'width' => $targetWidth, 'textWrap'=>'tight' ); $docx->addTextBox($wf_img_text, $textBoxOptions1); any ideas how can it stop working?