We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Numbering going wrong in tabular format

We are trying to merge a few documents and convert them to PDF so that they can be downloaded to the client side and printed. One of the documents has a table in which there are 3 different numbered lists. When the documents are merged, the numbering in the second and third list are continuing from the first list instead of starting from 1 again. Can some one let us know what to do to prevent this issue?
Please see the sample text given below.

  1. Left elbow lateral epicondylitis.
  2. Left shoulder pain.
  3. Left shoulder SLAP tear.
  4. Left shoulder proximal biceps tendon rupture.
  5. Left shoulder impingement syndrome.
  6. Left elbow lateral epicondylitis.
  7. Left shoulder pain.
  8. Left shoulder SLAP tear.
  9. Left shoulder proximal biceps tendon rupture.
  10. Left shoulder impingement syndrome.
  11. Open left elbow lateral epicondylar debridement with suture anchor reattachment of the extensor tendon.
  12. Left shoulder examination under anesthesia.
  13. Left shoulder diagnostic arthroscopy.
  14. Left shoulder arthroscopic glenohumeral debridement of the biceps stump and superior labrum.
  15. Left shoulder arthroscopy with subacromial decompression.
  16. Left shoulder open subpectoral biceps tenodesis.
    SURGEON Eswar, M.D.


ANESTHESIA General with LMA, interscalene block, local.



The issue is that the second and third lists are not starting from 1 again but they are continuing the sequence number from the first list.
Also note that the number in the post shows 1 to 16, but when the same is seen in edit mode in the editor, it is showing as three lists. Another observation is that the issue is coming up with the new versions of Aspose but not with the old versions. I hope this helps. Please let me know if you need any further information.


Thanks for your inquiry. Please get the lists of document using Document.Lists property and set the value of List.IsRestartAtEachSection property as true to restart the list numbers for each section.

If you still face problem, please attach the following resources here for testing:

  • Your input Word documents.
  • Please attach the output Word/PDF file that shows the undesired behavior.
  • Please attach the expected output Word/PDF file that shows the desired behavior.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.