By: Peter
Date: 2014-07-18
Time: 05:57
|
Any php methods to merge the docx files that contain image inside?I am doing a project to merge multiple docx files together, those files are selected by users. And inside those files, it may contains image inside. Is there any method to merge those docx files together? Now I can merge multiple docx files with no image, if a file contains image, when I open the new merge file, I fail. However, I find that if the image file is on the last priority to merge into the file, it can open, and image can show. Thanks!!!!
|
By: Peter
Date: 2014-07-21
Time: 05:22
|
Re: Any php methods to merge the docx files that contain image inside?Anyone knows?Plz help...Thank you very much!!!
|
By: Skrol29
Date: 2014-07-21
Time: 14:43
|
Re: Any php methods to merge the docx files that contain image inside?Hi Peter,
The problem of merging or combining two DOCX is discussed here : http://www.tinybutstrong.com/forum.php?thr=2757 OpenTBS have the features of TbsZip, so you can find the picture in the first DOCX, then save it as a temporary file, then save it is the new contaminated DOCX. The problem is that the new picture won't be displayed in the new contaminated DOCX because the internal relation id of the picture is not the same. The main problem is to change the internal relation id of the picture. |