Below is the code in JAVA that illustrates, how to add numbered bulleted paragraphs inside a textframe. The output presentation of this code is also attached with this post.
JAVA CODE
------------------------------------------------------------------------------------------------------------
Presentation pres=new Presentation();
Slide sld=pres.getSlideByPosition(1);
//Add a textframe
com.aspose.slides.Rectangle rect = sld.getShapes().addRectangle(300, 300, 3000, 1);
rect.getLineFormat().setShowLines(false);
//Add a text frame
TextFrame tf = rect.addTextFrame("");
//Make it expand shape if needed
tf.setFitShapeToText(true);
//Make it wrap text if it exceeds width
tf.setWrapText (true);
//Access first paragraph which is added by default
Paragraph para = tf.getParagraphs().get(0);
para.setText("This is first paragraph.");
//Make it numbered bullet
para.setHasBullet((short)1); //make it boolean
para.setBulletType(BulletType.NUMBERED);
para.setNumberedBulletStartWith((short)1);
//Add second paragraph, make it the copy of first
Paragraph newPara = new Paragraph(para);
newPara.setText( "This is second paragraph.");
//Add it in paragraphs
tf.getParagraphs().add(newPara);
//Add third one in a same way
newPara = new Paragraph(para);
newPara.setText("This is third paragraph.");
tf.getParagraphs().add(newPara);
//write presentation on disk.
pres.write(new FileOutputStream("c:\\outNumberedBullets.ppt"));
------------------------------------------------------------------------------------------------------------