Hi,
The same has been fixed by your explanation. But when i append a document whose contents has Bulleted text, I get additional bullet points without any text. Please refer the attached FinalDoc.Doc. I have appended contents from FieldStartup.doc, NoSpares1stYr.doc, Taxes.doc to FinalDoc.Doc. Can you help me out in removing the additional bullet points.
Source code
Document proposal = new Document("C:\\FinalDoc.Doc");
DocumentBuilder builder = new DocumentBuilder(proposal);
Document appendDocument = new Document("FieldStartup.doc");
foreach (Section section in appendDocument.Sections)
{
builder.MoveToDocumentEnd();
builder.InsertParagraph();
builder.InsertBreak(BreakType.SectionBreakContinuous);
Section sectionA = (Section)proposal.ImportNode(section, true, ImportFormatMode.KeepSourceFormatting);
builder.CurrentSection.AppendContent(sectionA);
}
appendDocument = new Document("NoSpares1stYr.doc");
foreach (Section section in appendDocument.Sections)
{
builder.MoveToDocumentEnd();
builder.InsertParagraph();
builder.InsertBreak(BreakType.SectionBreakContinuous);
Section sectionA = (Section)proposal.ImportNode(section, true, ImportFormatMode.KeepSourceFormatting);
builder.CurrentSection.AppendContent(sectionA);
}
proposal.Save("C:\\FinalDoc.Doc");
--------------------------------------------------------------
Thanks,
Nithiyanandam