需求
将富文本编辑后的HTML代码片段转换为Word文件,替换Word文件模板变量,加盖章,生成并打包下载
摘要
在尝试使用PHPWord进行转换后,生成的Word文件没有样式,使用原生生成方式PHPWord则无法打开文件,因此转换思路如下
- 先将HTML代码块格式化为可导出的Word格式(视图、保留样式)
- 替换HTML内模板参数为变量
- 添加印章变量
- 打包zip下载(此处生成了多个文件所以多了一步打包zip)
工具类代码
https://blog.csdn.net/Quiet_tomcat/article/details/https://blog.csdn.net/Quiet_tomcat/article/details/namespace https://blog.csdn.net/Quiet_tomcat/article/details/apphttps://blog.csdn.net/Quiet_tomcat/article/details/\commonhttps://blog.csdn.net/Quiet_tomcat/article/details/\utilshttps://blog.csdn.net/Quiet_tomcat/article/details/;https://blog.csdn.net/Quiet_tomcat/article/details/https://blog.csdn.net/Quiet_tomcat/article/details/class https://blog.csdn.net/Quiet_tomcat/article/details/Html2Wordhttps://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/private https://blog.csdn.net/Quiet_tomcat/article/details/$htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/private https://blog.csdn.net/Quiet_tomcat/article/details/$htmlTagTemp https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/https://blog.csdn.net/Quiet_tomcat/article/details/https://blog.csdn.net/Quiet_tomcat/article/details/<<<HTMLhttps://blog.csdn.net/Quiet_tomcat/article/details/HTMLhttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/private https://blog.csdn.net/Quiet_tomcat/article/details/$headerTmp https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/https://blog.csdn.net/Quiet_tomcat/article/details/https://blog.csdn.net/Quiet_tomcat/article/details/<<<HTMLhttps://blog.csdn.net/Quiet_tomcat/article/details/HTMLhttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/private https://blog.csdn.net/Quiet_tomcat/article/details/$operationInstance https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/nullhttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/public https://blog.csdn.net/Quiet_tomcat/article/details/function https://blog.csdn.net/Quiet_tomcat/article/details/replaceHTMLhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/// 判断字符串中是否存在HTML标签 https://blog.csdn.net/Quiet_tomcat/article/details/$htmlIndex https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/strposhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/"https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/if https://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$htmlIndex https://blog.csdn.net/Quiet_tomcat/article/details/!== https://blog.csdn.net/Quiet_tomcat/article/details/falsehttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/$htmlEndIndex https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/striposhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/">"https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/// 删除HTML开始头部标签 https://blog.csdn.net/Quiet_tomcat/article/details/$endHtml https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/substrhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$htmlEndIndex https://blog.csdn.net/Quiet_tomcat/article/details/+ https://blog.csdn.net/Quiet_tomcat/article/details/1https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/html https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlTagTemp https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/$endHtmlhttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/else https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/html https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlTagTemp https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/html https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/""https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/// 判断字符串中是否存在header标签 https://blog.csdn.net/Quiet_tomcat/article/details/$headerIndex https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/striposhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/""https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/$hRepIndex https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/striposhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/" https://blog.csdn.net/Quiet_tomcat/article/details/// 拿到meta标签开始位置 https://blog.csdn.net/Quiet_tomcat/article/details/$startIndex https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/striposhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/"https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/// 必须匹配到meta结束标签才能执行 https://blog.csdn.net/Quiet_tomcat/article/details/preg_match_allhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/'/https://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$matcheshttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/if https://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/counthttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$matcheshttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/> https://blog.csdn.net/Quiet_tomcat/article/details/0https://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/// 拿到head结束标签位置 https://blog.csdn.net/Quiet_tomcat/article/details/$lastMetaStr https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/endhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$matcheshttps://blog.csdn.net/Quiet_tomcat/article/details/[https://blog.csdn.net/Quiet_tomcat/article/details/0https://blog.csdn.net/Quiet_tomcat/article/details/]https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/$lastIndex https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/strposhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$lastMetaStrhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/$endIndex https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/$lastIndex https://blog.csdn.net/Quiet_tomcat/article/details/+ https://blog.csdn.net/Quiet_tomcat/article/details/strlenhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$lastMetaStrhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/// 为header插入word导出所需标签 https://blog.csdn.net/Quiet_tomcat/article/details/$startHtmlStr https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/substrhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/0https://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$lastIndexhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/$endHhtmlStr https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/substrhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$endIndexhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/// 为head拼接指定标签 https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/html https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/$startHtmlStr https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/headerTmp https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/$endHhtmlStrhttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/else https://blog.csdn.net/Quiet_tomcat/article/details/if https://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$headerIndex https://blog.csdn.net/Quiet_tomcat/article/details/=== https://blog.csdn.net/Quiet_tomcat/article/details/falsehttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/// header标签不存在 那么创建 https://blog.csdn.net/Quiet_tomcat/article/details/// 拿到meta标签开始位置 https://blog.csdn.net/Quiet_tomcat/article/details/$startIndex https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/striposhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/"https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/// 拿到meta标签结束位置 https://blog.csdn.net/Quiet_tomcat/article/details/preg_match_allhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/'/https://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$matcheshttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/if https://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/counthttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$matcheshttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/> https://blog.csdn.net/Quiet_tomcat/article/details/0https://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/// 拿到head结束标签位置 https://blog.csdn.net/Quiet_tomcat/article/details/$lastMetaStr https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/endhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$matcheshttps://blog.csdn.net/Quiet_tomcat/article/details/[https://blog.csdn.net/Quiet_tomcat/article/details/0https://blog.csdn.net/Quiet_tomcat/article/details/]https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/$lastIndex https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/strposhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$lastMetaStrhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/$endIndex https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/$lastIndex https://blog.csdn.net/Quiet_tomcat/article/details/+ https://blog.csdn.net/Quiet_tomcat/article/details/strlenhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$lastMetaStrhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/$startHtmlStr https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/substrhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/0https://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$lastIndexhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/$endHhtmlStr https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/substrhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$endIndexhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/// 为head拼接指定标签 https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/html https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/$startHtmlStr https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/"" https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/headerTmp https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/"" https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/$endHhtmlStrhttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/return https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/public https://blog.csdn.net/Quiet_tomcat/article/details/function https://blog.csdn.net/Quiet_tomcat/article/details/variableshttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/array https://blog.csdn.net/Quiet_tomcat/article/details/$tmpVarhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/array https://blog.csdn.net/Quiet_tomcat/article/details/$sourceDatahttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/foreach https://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$tmpVar https://blog.csdn.net/Quiet_tomcat/article/details/as https://blog.csdn.net/Quiet_tomcat/article/details/$key https://blog.csdn.net/Quiet_tomcat/article/details/=> https://blog.csdn.net/Quiet_tomcat/article/details/$valuehttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/if https://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/is_stringhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$valuehttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/&& https://blog.csdn.net/Quiet_tomcat/article/details/issethttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$sourceDatahttps://blog.csdn.net/Quiet_tomcat/article/details/[https://blog.csdn.net/Quiet_tomcat/article/details/$valuehttps://blog.csdn.net/Quiet_tomcat/article/details/]https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/variablehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/'$(' https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/$key https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/')'https://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$sourceDatahttps://blog.csdn.net/Quiet_tomcat/article/details/[https://blog.csdn.net/Quiet_tomcat/article/details/$valuehttps://blog.csdn.net/Quiet_tomcat/article/details/]https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/else https://blog.csdn.net/Quiet_tomcat/article/details/if https://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/is_arrayhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$valuehttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/&& https://blog.csdn.net/Quiet_tomcat/article/details/key_existshttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/"func"https://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$valuehttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/$func https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/$valuehttps://blog.csdn.net/Quiet_tomcat/article/details/[https://blog.csdn.net/Quiet_tomcat/article/details/'func'https://blog.csdn.net/Quiet_tomcat/article/details/]https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/html https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/str_replacehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/'$(' https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/$key https://blog.csdn.net/Quiet_tomcat/article/details/. https://blog.csdn.net/Quiet_tomcat/article/details/')'https://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/operationInstancehttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/$funchttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$sourceDatahttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/return https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/public https://blog.csdn.net/Quiet_tomcat/article/details/function https://blog.csdn.net/Quiet_tomcat/article/details/variablehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/string https://blog.csdn.net/Quiet_tomcat/article/details/$tmpNamehttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$valhttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/html https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/str_replacehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$tmpNamehttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$valhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/return https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/public https://blog.csdn.net/Quiet_tomcat/article/details/function https://blog.csdn.net/Quiet_tomcat/article/details/pregMatchVariablehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$patternhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$valhttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/html https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/preg_replacehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$patternhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$valhttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/return https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/public https://blog.csdn.net/Quiet_tomcat/article/details/function https://blog.csdn.net/Quiet_tomcat/article/details/writeWordhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/string https://blog.csdn.net/Quiet_tomcat/article/details/$fileNamehttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/$writefile https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/fopenhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$fileNamehttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/'wb'https://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/or https://blog.csdn.net/Quiet_tomcat/article/details/diehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/"创建文件失败"https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details///wb以二进制写入 https://blog.csdn.net/Quiet_tomcat/article/details/fwritehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$writefilehttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/fclosehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$writefilehttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/file_put_contentshttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$fileNamehttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/public https://blog.csdn.net/Quiet_tomcat/article/details/function https://blog.csdn.net/Quiet_tomcat/article/details/setHtmlhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/string https://blog.csdn.net/Quiet_tomcat/article/details/$htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/html https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/$htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/return https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/public https://blog.csdn.net/Quiet_tomcat/article/details/function https://blog.csdn.net/Quiet_tomcat/article/details/getHtmlhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/return https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/htmlhttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/} https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/public https://blog.csdn.net/Quiet_tomcat/article/details/function https://blog.csdn.net/Quiet_tomcat/article/details/setOperationInstancehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$operationInstancehttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/operationInstance https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/new https://blog.csdn.net/Quiet_tomcat/article/details/$operationInstancehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/return https://blog.csdn.net/Quiet_tomcat/article/details/$thishttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/}https://blog.csdn.net/Quiet_tomcat/article/details/}
使用方法
https://blog.csdn.net/Quiet_tomcat/article/details/$html2Word https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/new https://blog.csdn.net/Quiet_tomcat/article/details/Html2Wordhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/;https://blog.csdn.net/Quiet_tomcat/article/details/// 一些示例数据https://blog.csdn.net/Quiet_tomcat/article/details/$configs https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/arrayhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/'项目名称' https://blog.csdn.net/Quiet_tomcat/article/details/=> https://blog.csdn.net/Quiet_tomcat/article/details/'product_name'https://blog.csdn.net/Quiet_tomcat/article/details/,https://blog.csdn.net/Quiet_tomcat/article/details/'项目别名' https://blog.csdn.net/Quiet_tomcat/article/details/=> https://blog.csdn.net/Quiet_tomcat/article/details/'product_as'https://blog.csdn.net/Quiet_tomcat/article/details/,https://blog.csdn.net/Quiet_tomcat/article/details/// 当此处设置为 array时 且存在func属性,那么会执行 Html2WordOperation类中的seal方法,也就是setOperationInstance时传入的类https://blog.csdn.net/Quiet_tomcat/article/details/'盖章' https://blog.csdn.net/Quiet_tomcat/article/details/=> https://blog.csdn.net/Quiet_tomcat/article/details/[https://blog.csdn.net/Quiet_tomcat/article/details/'func' https://blog.csdn.net/Quiet_tomcat/article/details/=> https://blog.csdn.net/Quiet_tomcat/article/details/'seal'https://blog.csdn.net/Quiet_tomcat/article/details/]https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/;https://blog.csdn.net/Quiet_tomcat/article/details/$variableData https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/arrayhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/'product_name' https://blog.csdn.net/Quiet_tomcat/article/details/=> https://blog.csdn.net/Quiet_tomcat/article/details/'小米手机'https://blog.csdn.net/Quiet_tomcat/article/details/,https://blog.csdn.net/Quiet_tomcat/article/details/'product_as' https://blog.csdn.net/Quiet_tomcat/article/details/=> https://blog.csdn.net/Quiet_tomcat/article/details/'小米'https://blog.csdn.net/Quiet_tomcat/article/details/)https://blog.csdn.net/Quiet_tomcat/article/details/;https://blog.csdn.net/Quiet_tomcat/article/details/$html2Wordhttps://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/setOperationInstancehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/Html2WordOperationhttps://blog.csdn.net/Quiet_tomcat/article/details/::https://blog.csdn.net/Quiet_tomcat/article/details/classhttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/// 传入自定义操作类 https://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/setHtmlhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$productTemplateinfohttps://blog.csdn.net/Quiet_tomcat/article/details/[https://blog.csdn.net/Quiet_tomcat/article/details/'content'https://blog.csdn.net/Quiet_tomcat/article/details/]https://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/// 挂载HTML代码片段 https://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/replaceHTMLhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/// 整理为可导出Word格式 https://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/variableshttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$configshttps://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$variableDatahttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/// 将HTML代码模板的变量转为实际参数 https://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/pregMatchVariablehttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/'/人民币【.*万元整+/'https://blog.csdn.net/Quiet_tomcat/article/details/, https://blog.csdn.net/Quiet_tomcat/article/details/$amountTexthttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/// 正则表达式变量赋值 https://blog.csdn.net/Quiet_tomcat/article/details/->https://blog.csdn.net/Quiet_tomcat/article/details/writeWordhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$filePathhttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/// 导出文件;
Html2WordOperation类示例
https://blog.csdn.net/Quiet_tomcat/article/details/https://blog.csdn.net/Quiet_tomcat/article/details/class https://blog.csdn.net/Quiet_tomcat/article/details/Html2WordOperationhttps://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/ https://blog.csdn.net/Quiet_tomcat/article/details/public https://blog.csdn.net/Quiet_tomcat/article/details/function https://blog.csdn.net/Quiet_tomcat/article/details/sealhttps://blog.csdn.net/Quiet_tomcat/article/details/(https://blog.csdn.net/Quiet_tomcat/article/details/$sourceDatahttps://blog.csdn.net/Quiet_tomcat/article/details/) https://blog.csdn.net/Quiet_tomcat/article/details/{ https://blog.csdn.net/Quiet_tomcat/article/details/$seal https://blog.csdn.net/Quiet_tomcat/article/details/= https://blog.csdn.net/Quiet_tomcat/article/details/$sourceDatahttps://blog.csdn.net/Quiet_tomcat/article/details/[https://blog.csdn.net/Quiet_tomcat/article/details/'seal'https://blog.csdn.net/Quiet_tomcat/article/details/]https://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/// 读取盖章数据 https://blog.csdn.net/Quiet_tomcat/article/details/return https://blog.csdn.net/Quiet_tomcat/article/details/https://blog.csdn.net/Quiet_tomcat/article/details/https://blog.csdn.net/Quiet_tomcat/article/details/<<<HTMLhttps://blog.csdn.net/Quiet_tomcat/article/details/$seal" style="width: 100px;height: 100px;margin-top: 15px;" />https://blog.csdn.net/Quiet_tomcat/article/details/HTMLhttps://blog.csdn.net/Quiet_tomcat/article/details/; https://blog.csdn.net/Quiet_tomcat/article/details/}https://blog.csdn.net/Quiet_tomcat/article/details/}
来源地址:https://blog.csdn.net/Quiet_tomcat/article/details/126870768