public void wordToHtml(String sourceFileName, String newFileName) {
HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions();
htmlFixedSaveOptions.setExportEmbeddedCss(true);
htmlFixedSaveOptions.setExportEmbeddedFonts(true);
htmlFixedSaveOptions.setExportEmbeddedImages(true);
htmlFixedSaveOptions.setShowPageBorder(false);
// Load DOC file to be converted
Document wpd = new Document(sourceFileName);
wpd.save(newFileName, htmlFixedSaveOptions);
}
使用上方代码将word转成html时,批注人/修订人显示不正确,原文档中批注人是“张三”,而转成html以后就变成了Commented [CM1]之类的,请问如何能让批注人正确显示