Recently we got an issue report from one of our customers in which they were not able to generate a big document including numbered list correctly. I did manage to reproduce the issue using a simple standalone application.
I would try to generate many numbers of the numbered lists in a document but as you can see from the output, from some point in the document, generated lists would be generated without any numbering.
I attached the sample code here showing the problem.
We have tested the scenario using the latest version of Aspose.Words for Java 19.9 and have not found the shared issue. So, please use Aspose.Words for Java 19.9.
I tested Aspose.Words vesrions 19.10 and 19.9 and did manage to reproduce the issue with them.
If you just run the application from the previous post, you should see the issue.
I also attach the output here where you will see that numbered lists not being generated from page number 223.
Please note that Aspose.Words mimics the behavior of MS Word. It seems that MS Word has limited slots for list definitions and stops adding new lists after list count reaches 2046 items.
Instead of adding new lists in the document, we suggest you please use the list that is already added in the document for new lists.
Does It mean that it should still work for list with less items?
What would we expect If there are many different lists with few number of items in different places in the document? I’m not talking about only one list with lots of items.