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,082,665
  • 372
  • 3,610
  • 3,555
Jimit Tank
  • 1,479
  • 5
  • 19
  • 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
  • 114,158
  • 16
  • 130
  • 208
0

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

James Walford
  • 2,953
  • 1
  • 24
  • 37
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
  • 48,783
  • 32
  • 145
  • 190
Anton K.
  • 933
  • 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,479
  • 5
  • 19
  • 25