word域代码转换html丢失解决办法.doc

word域代码转换html丢失解决办法.doc

ID:51913470

大小:20.77 KB

页数:13页

时间:2020-03-19

word域代码转换html丢失解决办法.doc_第1页
word域代码转换html丢失解决办法.doc_第2页
word域代码转换html丢失解决办法.doc_第3页
word域代码转换html丢失解决办法.doc_第4页
word域代码转换html丢失解决办法.doc_第5页
资源描述:

《word域代码转换html丢失解决办法.doc》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库

1、Word转html存在域代码丢失。Aspose,jacob,poi都无法解决在使用jocob转换成html时域代码会被包裹可以统一提取出来转换成latex,latex转换成图片,解决word域代码丢失问题privatevoidprocessFormula(Listnodes)throwsUnsupportedEncodingException{for(inti=nodes.size()-1;i>=0;i--){Nodenode=nodes.get(i);if(nodeinstanceofElement)

2、{Elemente=(Element)node;processFormula(e.childNodes());}elseif(nodeinstanceofComment){StringcommentText=node.toString();if(commentText.contains("