Document srcDoc1 = new Document("File-1.rtf"); Document srcDoc2 = new Document("File-2.rtf"); DocumentBuilder builder = new DocumentBuilder(srcDoc1); builder.moveToDocumentEnd(); builder.insertParagraph(); builder.insertDocument(srcDoc2, ImportFormatMode.KEEP_SOURCE_FORMATTING); srcDoc1.save("Out_AW178_source.rtf", com.aspose.words.SaveFormat.RTF);*
Method moveToDocumentEnd() is not working properly.
Please see attached files that reproduces the issue. It is related to the circle located in the header. Aspose is trying to concatenate files inside of it instead of move to the end of the document. If I remove that circle, it works fine.
How to fix that?