Cannot disable bullets for new paragraphs in tables

Hi!

I am trying to create table, where some cells contains multi-line text. I am trying to do it like this:

String cell = row[j];
String[] parts = cell.split( "(\\r\\n)|(\\n)" );
...
for( String part : parts )
{
    Paragraph paragraph = new Paragraph();
    paragraph.hasBullet(false);
    paragraphs.add( paragraph );

    PortionCollection portions = paragraph.getPortions();
    Portion portion = new Portion();
    portions.add( portion );

    portion.setText( part );
    portion.setFontHeight( (short) 10 );
}
But, even when I have used method 'hasBullet' for paragraph object, all paragraphs still have a bullets (see screenshot).

How can I disable bullets for paragraphs? Or, how can I create cell with multilines by another way?

I am using Aspose.Slides 7.6.0. You can find full example code in attachment.

Hi Nikolay,

I have observed the requirement shared by you and like to add that it is in fact not an issue. When you add the paragraph in paragraph collection then you need to add whether it will be having bullets or not. Please try using following sample code on your end to serve the purpose and share with us if any further help is needed in this regard.

for( String part : parts )
{
Paragraph paragraph = new Paragraph();
paragraphs.add( paragraph );
paragraph.hasBullet(false);

PortionCollection portions = paragraph.getPortions();
Portion portion = new Portion();
portions.add( portion );

portion.setText( part );
portion.setFontHeight( (short) 10 );
}

Many Thanks,

Hi Mudassir!

Yes, it works! Thank you!