I require to convert .doc or .docx files (Microsoft Word Document) into .epub formats. I don’t want to use Spire.Doc DLL. Please suggest some measures. Can it be done through DotNetZip library?
I require to convert .doc or .docx files (Microsoft Word Document) into .epub formats.
Share
I’ve looked into this a little bit and unfortunately I don’t see many alternatives. If you want to do it on the cheap, then you could try this:
Note: This ultimately requires you to convert it to epub yourself. The good news, though, is that it IS an open standard and that some people have done this already and code is free on the net. See EPUB on wikipedia for the specifics on the open format.
Why have I chosen this method?
I have not found any examples of doc-to-epub, but I wanted to go the fastest route with minimal expense using these examples:
Eric Ness has provided a fantastic example of how to convert a Word document to pdf on stackoverflow: How do I convert Word files to PDF programmatically?
André van heerwaarde has posted a project on codeproject: Conversion of PDF to EPUB Format which is downloadable and open source. You can garner whatever you require from his code.
Hope this helps!