Aspose.Words for Java word转html,签章错位,自动换页。

word签章错位,自动换页.zip (533.3 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();
document.save(targetFileName, options);

@xiangma

我们已经使用最新版本的Aspose.Words for Java 21.3测试了该方案,但未发现共享问题。 因此,请使用Aspose.Words for Java 21.3。 我们在这篇文章中随附了输出文档,以供您参考。

21.3.zip (305.0 KB)