Free Support Forum -

Reading Slide Note with Font and Format


Am using Aspose.Slides (Java) to read the Slide Notes from the presenation. Am able to read the slide notes from the presentation but am not getting how to maintain the fonts, formats (bold/italics/colors/indentation) etc.

If anyone can provide an example for the same will be a great help.

Thanks in advance.


You can use formatting properties exposed by Portion object. A working sample to extract bold text is as under:

pres = new Presentation("slides.ppt");

Slide sld=pres.getSlideByPosition(1);

Notes nt=sld.getNotes();

for(int i=0;i<nt.getParagraphs().size();i++)

for(int j=0;j<nt.getParagraphs().get(i).getPortions().size();j++)



//System.out.println("It is Bold");