|
@@ -363,12 +363,12 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
wordExtractor.close();*/
|
|
|
} else if (path.endsWith("docx")) {
|
|
|
String htmlContent = "";
|
|
|
- InputStream in = file.getInputStream();
|
|
|
+ /* InputStream in = file.getInputStream();
|
|
|
|
|
|
Document docF = new Document();
|
|
|
docF.loadFromStream(in,FileFormat.Docx);
|
|
|
docF.saveToFile("D:/wordtohtml.html", FileFormat.Html);
|
|
|
- docF.dispose();
|
|
|
+ docF.dispose();*/
|
|
|
|
|
|
|
|
|
InputStream is = file.getInputStream();
|