Aspose.words for JAVA 把两个word合并成一个word

Aspose.words for JAVA 把两个word合并成一个word
合并之后,里面的批注就没有了,请问Aspose不支持 批注 吗?
test.zip (46.6 KB)

@zg0x1231,

还请创建一个简化的独立Java应用程序(没有编译错误的源代码),这有助于我们在最后重现您当前的问题并将其附加到此处进行测试。 请不要在其中包含Aspose.Words JAR文件以减小文件大小。

代码在一台不能上网,不能拷贝的电脑,我拍的照片出来

@zg0x1231,

在使用最新版本的Aspose.Words for Java(即19.6)(Aspose.Words | Java Library to Process Document Formats) 进行初步测试后,我们无法在最终重现此问题。 请使用以下简单代码查看我们生成的输入/输出Word文档(input-output.zip (49.4 KB) )。

Document doc = new Document("E:\\temp\\test\\test1.docx");
DocumentBuilder builder = new DocumentBuilder(doc);

Document doc2 = new Document("E:\\temp\\test\\test2.docx");

builder.moveToDocumentEnd();
builder.insertDocument(doc2, ImportFormatMode.KEEP_SOURCE_FORMATTING);

doc.save("E:\\temp\\test\\awjava-19.6.docx");