Package org.jeecgframework.web.cgform.common

Examples of org.jeecgframework.web.cgform.common.OfficeHtmlUtil.wordToHtml()


        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);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.