For each great god help, how to batch convert word files to HTML file name consistent with the source file, into the directory with the original file
CodePudding user response:
Reference: http://blog.csdn.net/haoda_yikeshu/article/details/48731107Still has a lot of batch conversion tools can be found online "word mass transfer HTML" give it a try
CodePudding user response:
If write their own procedures to realize conversion, will use third-party libraries, such as the spire. Doc method is simpler
//instantiate the document
The Document Document=new Document ();
//load the document
Document. The LoadFromFile (" example. Docx ");
//save as XML
XML document. SaveToFile (" example ", FileFormat. XML);
CodePudding user response: