0

i am working 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

BalusC
  • 1,040,783
  • 362
  • 3,548
  • 3,513
Jimit Tank
  • 1,419
  • 5
  • 18
  • 25

4 Answers4

0

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/

Community
  • 1
  • 1
AlexR
  • 111,884
  • 15
  • 126
  • 200
0

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

James Walford
  • 2,942
  • 1
  • 23
  • 36
0

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.

John Gietzen
  • 47,524
  • 30
  • 142
  • 185
Anton K.
  • 905
  • 3
  • 9
  • 22
0

A solution is i have Download a

officetools.OfficeFile;

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

Jimit Tank
  • 1,419
  • 5
  • 18
  • 25