I have an idea of converting Word document(.doc/.docx) files to Help file(.chm) format. I want to use Java for the conversion of files. My formula is simple. To make the Table of Contents page and other links in word document, as package explorer or File explorer and make the user navigation simpler, faster and easy to navigate among the pages in the document.
So, My Question is :
Are there any native libraries in java that can be imported and used for File Conversion?
Please share your ideas to implement the above concept.
Its a pretty difficult task to be done in Java. But you can still do it if you install Microsoft HTML Help Workshop.
Then you should have a corresponding HHC file as well. Its a simple HTML document in the following format:
Similarly look up the structure for a HHK file.
hhc.exe <inputfile.hhp>from Java. That should do the job.