开发者

how to convert .HTML file to .DOC file...?

i am worki开发者_StackOverflow中文版ng in JSF Application and in this application using some code i have create a HTML file that is store in my server and now i want to convert that HTML file in to .DOC file ..... so please help me


There are tools that convert HTML to PDF: Convert an HTML file to a PDF with their pictures and styles using Java

Then use: http://pdf-to-doc.software.informer.com/


You could strip it of script and comments etc, then load it into Word and save it as .doc.


A solution is i have Download a

officetools.OfficeFile;

this jar file and after write some code that can easy get from the net...


You can convert HTML to XML (using XSLT) and load it into Word afterwards. I did it while converting HTML page with tables to XML with XSLT file attached and it worked just fine.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜