We have used Aspose .word dll 10.5.0.0 for converting word document to different
formats like html, pdf and excel.
We have a requirement in which we have to convert word file to chm file. In ASPOSE.
Word is there any way in which we can convert word document to chm file.
Please let us know if any solution is possible. It will be very helpful for
us.
Thanks for your query. I regret to share with you that the requested feature is not available in Aspose.Words. Please read the save formats of Aspose.Word from this link.
Actually we used to source our documentation straight from Word files and during our build process for the documentation, export these to CHM format.
Aspose.Words does not have any functionality to convert directly to CHM format, but you can however export a document to a series of HTML files and then call another process from command line to convert these files to CHM. For example, we use NDoc to achieve this.
The following sample projects demonstrate how to convert a document into a serises of HTML files ready to be compiled. Each topic is split using the Heading styles.
If we can help with anything else, please feel free to ask.
Thank
you very much for your feedback. You are always welcome and please feel free to ask, if you have any
query in future. We always welcome constructive response
from our customers.
Can you help me how can we use NDoc for compiling these entire individual html help file into a single .chm file or can you please share the code or any other way for it. We are not able to use these as you suggest in previous reply.
I’m afraid the code we use to generate the CHM using NDoc is quite deeply nested in our build process so it’s hard to provide any direct examples.
Instead, could you please clarify what step is not working or what issue you are having? It would be good if you could attach your project here for testing as well. We will provide you with some further help.