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

Free Support Forum - aspose.com

How to customize bullets and Text spacing while we create Word Document using aspose.word

Hi Sonam,

Thanks for sharing the detail of your issue.

Please make sure that you are using the latest version of Aspose.Words for Java 14.4.1. Please try following line for code at your side and let us know if you still face any issue.


You can also use run.getText().trim().isEmpty().

Hope this helps you.

Hi Tahir,

First thanks a ton for quick reply.
Above code is working perfectly fine:)

Now I will work on Next paragraph method and will be back if there any issues.


Sonam Arora

Hi Sonam,

Thanks for your feedback. It is nice to hear from you that your issue has been solved. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.

Hi Tahir,

I have below query.
Below code determines is the paragraph is bulleted/listed or not.

Is there any funtionality with which I can find what type of bullet type that paragraph uses like
- Bullettype1

  • Bullettype2


Hi Sonam,

for your inquiry. Unfortunately, Aspose.Words does not support the
requested feature at the moment. However, we had already logged this feature
request as WORDSNET-7562 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.