见附件,附件中的艺术字转换以后空白
民族大学.doc.zip (8.5 KB)
转换代码如下
Document document = new Document(sourceFileName);
HtmlFixedSaveOptions options = new HtmlFixedSaveOptions();
options.setUseTargetMachineFonts( false );
options.setUseHighQualityRendering( true );
options.setEncoding(Charset.forName(“UTF-8”));
options.setExportEmbeddedFonts( true );
options.setShowPageBorder( true );
document.acceptAllRevisions();
// options.setPrettyFormat(true);
document.save(targetFileName, options);