V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
zhoudashuai777
V2EX  ›  Java

求助---将 html 文本导出为 word

  •  
  •   zhoudashuai777 · 3 天前 · 779 次点击
    各位大佬,java 后端,如何将 html 文本导出为 word 文档,html 文本中包含富文本样式
    6 条回复    2024-07-08 17:05:02 +08:00
    ltux
        1
    ltux  
       3 天前
    Pandoc - a universal document converter
    https://pandoc.org/
    RainCats
        2
    RainCats  
       3 天前
    模板引擎技术
    janus77
        3
    janus77  
       3 天前
    html to pdf, pdf to word
    a11214214
        4
    a11214214  
       3 天前
    这两天正好在做, 用了第三方的库 com.deepoove:poi-tl
    tuutoo
        5
    tuutoo  
       2 天前
    word to html, html to pdf, pdf to word...
    zhoudashuai777
        6
    zhoudashuai777  
    OP
       1 分钟前
    @janus77 请教下如果 pdf 中包含富文本,这种怎么处理呢;找了一个 Spire.PDF 这个东西,但这个东西需要收费
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5097 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 09:06 · PVG 17:06 · LAX 02:06 · JFK 05:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.