Dear Aspose Team,
I tried to insert contents of source word document into a target word document at a bookmark place using the following code provided by Aspose:
http://www.aspose.com/docs/display/wordsnet/How+to++Insert+a+Document+into+another+Document
My source and target documents have certain sections with section numbers in it.
The Target document looks like as given below:
1. SectionTA
[SectionsInsertionPlace]
2. SectionTB
3. SectionTC
The Source document looks like as given below:
1. SectionSA
1.1 SectionSAChild
Now I want to insert sections from source document into target document at a bookmark "SectionsInsertionPlace". I used NodeImporter class and need to use KeepSourceFormatting import mode.
I got the following final document after insert document:
1. SectionTA
1. SectionSA
1.1 SectionSAChild
2. SectionTB
3. SectionTC
But the expected final document should be:
1. SectionTA
2. SectionSA
2.1 SectionSAChild
3. SectionTB
4. SectionTC
How can I accomplish this? How can I get desired section numbers in final document?
Do I need to modify word template document?
Many Thanks,
Chandra