I am trying to replace a bookmark in a Word document to contain a heading, some text, and then a 2 column bullet list. I think the bullet list is messing me up. I’m having all sorts of problem getting it to format properly.
I’m basically doing this (see below). Things don’t seem to be working properly and if I add the heading and text before adding the bullet list, that gets 2 columns as well…but i’ll bet that’s because those pieces need to be in separate paragraphs to have different formatting. Any help or advice would be much appreciated.
a_DocumentBuilder.MoveToBookmark("some name here");
a_DocumentBuilder.PageSetup.TextColumns.SetCount(2);
a_DocumentBuilder.ListFormat.List = a_DocumentBuilder.Document.Lists.Add(Aspose.Words.Lists.ListTemplate.BulletDisk);
a_DocumentBuilder.ListFormat.ListLevelNumber = 0;
foreach (var improvementProgram in colImprovementPrograms)
{
a_DocumentBuilder.InsertHyperlink(improvementProgram.Name, improvementProgram.URL, false);
a_DocumentBuilder.InsertBreak(BreakType.ColumnBreak);
}