开发者

convert XMLdata to DOC and save it as TIFF

开发者 https://www.devze.com 2023-02-02 23:51 出处:网络
XML开发者_如何学C-DOC-TIFF I am working on a POC where I need to convert XML data to a editable word document

XML开发者_如何学C-DOC-TIFF

I am working on a POC where I need to convert XML data to a editable word document and provide a button "save as tiff" on the word doc which saves as a TIFF image. Can we achieve this using java ? I am running out of ideas.

-PD


Take a look at XWPF and HWPF (http://poi.apache.org/hwpf/index.html), which provide Java APIs for reading and writing .docx files. Using this you should be able to map your XML data into a docx file.

Microsoft Word has a built in TIFF print capability. When you print, choose the Microsoft Office Document Image Writer printer, click on Properties->Advanced, then select TIFF.

Or were you trying to build a Java version of Microsoft Word?

0

精彩评论

暂无评论...
验证码 换一张
取 消