How to create a bulleted list in Apache POI XWPF Document?

后端 未结 5 454
鱼传尺愫
鱼传尺愫 2021-01-14 09:15

I want to create a bulleted/numbered list in a docx word document with Java. I am using the Apache POI 3.10 library. If I understand correctly, the steps would be like this:

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-14 09:45

    I too used the same steps you have mentioned and for the second step, I have used the following statement.

    BigInteger abstractNumId = BigInteger.valueOf(0);
    

    With this I was able to create Bulleted list. However, I have still not found a way to create Numbered lists.

提交回复
热议问题