开发者

convert XMLdata to DOC and save it as TIFF

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜