Hi,
I’m trying to append one document to another using this code :
Document document = new Document("E:\doc1.doc");
Document docToAppend = new Document("E:\doc2.doc");
document.appendDocument(docToAppend, ImportFormatMode.KEEP_SOURCE_FORMATTING);
The problem is that in the result document there are some differences in list style.
I’m attaching documents and screen with details.
I guess that problem is with some document (doc1.doc) settings because if I create brand new document it works fine.
Thanks for your request. I have checked the issue with the latest version of Aspose.Words and could not reproduce it. Please try using the latest version; you can download it from here:
Hello
Thank you for additional information. It is expected behavior. If you try checking DefaultTabStops in your destination and source documents you will see the difference. Please try using the following code:
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.