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.

run.toString(com.aspose.words.SaveFormat.TEXT).trim().isEmpty()

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.

Thanks

Regards
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.
if(para.isListItem())

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

  • Bullettype2

Thanks
Sonam

Hi Sonam,

Thanks
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.