Below rich text content is using to present in text box area in PPT using Aspose API.
<p class="O1" style="direction:ltr;line-height:100%;margin-bottom:-7.5pt;margin-left:0pt;margin-right:0pt;margin-top:0pt;punctuation-wrap:hanging;text-align:left;text-indent:0pt"><span style="font-size:9pt"><span style="font-family:'Arial'"> • Test description</span></span></p>
<div class="O1" style="direction:ltr;line-height:100%;margin-bottom:-7.5pt;margin-left:13.5pt;margin-right:0pt;margin-top:0pt;punctuation-wrap:hanging;text-align:left;text-indent:-13.5pt"><span style="font-family:'Arial';font-size:9pt;mso-special-format:bullet">• Test Kishore</span></div>
For this text, text box is not showing ‘Test Kishore’ row but ‘Test Description’ is showing.
Below is the code i used to display the text in slide textbox.
Ishape ishape = slide.getShapes.addAutoShape(ShapeType.Rectangle, 0,0, 100,100, false);
ishape.getTextFrame().getParagraphs().addFromHtml(StringEscapeUtils.unescapeHtml(htmlContent));
Please help us, how to show both rows in PPT textbox.