myhtmlfilename = realPath + noextfilename + ".html";
String myftlfilename = realPath + noextfilename + ".ftl";
LogUtil.info("-------------------------step.4-------------------------------------");
// 开始转换表单文件
OfficeHtmlUtil officeHtml = new OfficeHtmlUtil();
// 方式一:jacob.jar方式word转html
officeHtml.wordToHtml(savePath, myhtmlfilename);
String htmlStr = officeHtml.getInfo(myhtmlfilename);
htmlStr = officeHtml.doHtml(htmlStr);
// 方式二:poi方式word转html
// officeHtml.WordConverterHtml(savePath, myhtmlfilename);
// String htmlStr = officeHtml.getInfo(myhtmlfilename);
// htmlStr = officeHtml.doPoiHtml(htmlStr);
officeHtml.stringToFile(htmlStr, myftlfilename);
// js plugin start
StringBuilder script = new StringBuilder("");
script.append("<script type=\"text/javascript\">");
script.append("${js_plug_in?if_exists}");
script.append("</script>");