@Gayatri_K,
Unfortunately, your query is not clear enough therefore we request you to please elaborate your inquiry further by providing complete details of your use-case. This will help us to understand your scenario, and we will be in a better position to address your concerns accordingly.
The project you shared uses 20.4 version of Aspose.Words; can you please upgrade to latest 21.4 version and see how it goes on your end? You are running the app in evaluation mode; can you please apply the license before running the app? Also, your application does not produce any output files or display anything on Console which makes it difficult to determine the nature of problem.
I am afraid, we are unable to locate any “Sample 2.docx” in the attachments you shared. But, the “Sample.docx” you shared has 120 pages and the document’s first Paragraph on first Page does not have any hidden list numbers.
Regarding the “Sample doc.doc” that you attached in first post, it has 46 pages; on what exact pages are you observing this problem? Do you see the same problem when converting this DOC to PDF by using following simple code? If yes, then please create and attach a comparison screenshot which highlights the problematic area(s) in following Aspose.Words 21.4 generated PDF (with respect to MS Word generated PDF). Please also convert your documents to PDF by using Aspose.Words and MS Word and attach the PDF files here for our reference.
Document doc = new Document("C:\\temp\\Sample doc\\Sample doc.doc");
doc.Save("C:\\Temp\\Sample doc\\21.4.pdf");
I have also attached 21.4 version generated PDF file here for your reference: (see 21.4.pdf (271.3 KB))