MajorAdam
V2EX  ›  问与答

关于 Java 生成 word,word 再转 pdf 的疑问

  •  
  •   MajorAdam · Oct 27, 2017 · 1631 views
    This topic created in 3306 days ago, the information mentioned may be changed or developed.

    目前使用 velocity 填充 xml 模板的方式生成了 word 文档,但这种方式生成的文档不能通过 unoconv+libreOffice 的方式转为正常的 pdf 文档,只会将 xml 的内容输出到 pdf 里.因此现在只好使用 word2007 的转换服务,但速度太慢.请问有什么办法能完善地生成 word,并转化为 pdf

    1 replies  •  2017-10-27 14:29:10 +08:00
    Hyeongo
    Hyeongo
    Oct 27, 2017
    1
    试试 xmlworker
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1829 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 10:50 · PVG 18:50 · LAX 02:50 · JFK 05:50
    ♥ Do have faith in what you're doing.