We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Part of HTML Content Is Ignored when Added into Presentation

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'">&nbsp; &nbsp; &nbsp;&bull; 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">&bull; 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);

Please help us, how to show both rows in PPT textbox.

Thank you for reporting the issue.

I’ve reproduced the problem with adding the HTML content to a presentation and added a ticket with ID SLIDESJAVA-38828 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate this case. You will be notified when the issue is resolved.

It would be great if you share the following additional information:

  • OS version where the code was executed
  • JDK version you used

We will test a solution for the issue in the same environment.


Thank you for the additional information. I passed it on to our developers.

Can you update on this. This needs to resolve for my customers.

I requested plans for the issue from our development team for you. We will let you know them soon.

Investigation of the issue has been scheduled for the next week. After we find the cause of the problem you are experiencing, we will be able to determine when it will be fixed.