a. We added below content in rich text box in slide of Presentation.
image.png (1.2 KB)
b. We converted into html using below code and saved to Database.
String content = shape.getTextFrame().getParagraphs().exportToHtml(0, shape.getTextFrame().getParagraphs().getCount(), null);
c. Attached the aspose generated html code .Aspose_generated_code.docx (11.9 KB)
d. When generating the report, we retrieved above saved html content from DB and report is generated.
We used below code for this.
IShape iShape = slide.getShapes().addAutoShape(ShapeType.Rectangle, x, y, width, height, false); shape.getTextFrame().getParagraphs().addFromHtml(StringEscapeUtils.unescapeHtml(content != null ? content : ""));
e. Report generated like this.
image.png (742 Bytes)
Could you please let us know why below formatting issues are there.
a. Why spacing between Test1 and Test2 is small which is not same as uploaded one.
b. why bullet color blue is not there for Text - Sub bullet
c. Why space is removed between bullet and Text - Sub bullet.
Could you please help us in resolving above issues.