更新时间:2023-02-23 11:21:07
这里是链接到github。它工作正常 Html-Docx-js 。
Here is the link to the github. It is working fine Html-Docx-js.
这个演示也可以在这里。
其他选项是链接。
$toOpenXML = HTMLtoOpenXML::getInstance()->fromHTML("<p>te<b>s</b>t</p>");
$templateProcessor->setValue('test', $toOpenXML);