导出Word技术
cjccxy
这个作者很懒,什么都没留下…
展开
-
java通过POI技术将HTML文件转成Word
public void htmlToWord2() throws Exception { InputStream bodyIs = new FileInputStream("f:\\1.html"); InputStream cssIs = new FileInputStream("f:\\1.css"); String body = this.getContent(bodyIs); String css = this.getContent(cssIs); //拼一个标准的H.原创 2021-07-02 14:12:30 · 891 阅读 · 0 评论 -
java通过POI技术将html转成word
private static void inputStreamToWord() throws IOException { String content = "<html>" + "<head>你好</head>" + "<body>" + "<table>" + "<tr>" + "<td>信息1</td>" + "<td>.原创 2021-07-02 14:10:29 · 447 阅读 · 0 评论