@ImTryingOkay,
Please check the following code example, showing how to get the desired output for a list:
Document doc = new Document(@"C:\Temp\skipNum.docx");
Paragraph paragraph = (Paragraph)doc.GetChild(NodeType.Paragraph, 1, true);
if (paragraph.IsListItem)
{
Aspose.Words.Lists.List newlist = doc.Lists.AddCopy(paragraph.ListFormat.List);
while (paragraph != null && paragraph.IsListItem)
{
paragraph.ListFormat.List = newlist;
paragraph = (Paragraph)paragraph.NextSibling;
}
}
Aspose.Words.Lists.List list = doc.Lists[1];
list.ListLevels[0].StartAt = 3;
doc.Save(@"C:\Temp\skipNumOut.docx");
The idea is to create a new list for items, starting from the second item, and to set the ListLevels[0].StartAt property for this list to 3.
Please also check the input file “skipNum.docx”, used to test the code example bellow: