Bulleted numbering removed and does not appear

Hi number bulleted list with 4 level is lost before and after CleanUp method.
after.docx (79.1 KB)

before.docx (100.4 KB)

@kaushlendu.choudhary Could you please elaborate the problem. As I can see the document before and after look the same. I have used the following code for testing:

Document doc = new Document(@"C:\Temp\before.docx");
doc.Cleanup();
doc.Save(@"C:\Temp\out.docx");

Document.Cleanup() method removes unused styles and lists from the document. If it is required to keep unused styles, you can specify this in CleanupOptions:

Document doc = new Document(@"C:\Temp\before.docx");
CleanupOptions opt = new CleanupOptions();
opt.UnusedLists = false;
doc.Cleanup(opt);
doc.Save(@"C:\Temp\out.docx");