Free Support Forum - aspose.com

Issue in generating the sub bullets while generating the pdf using ppts

Hi ,

I am facing an issue while generating the pdf using pptx,For the sub bullets, it is not displaying the sub bullets(small rounds) instead it is displaying '- '. Aspose API is converting sub bullets(rounds) to Hyphens “-” automatically. I request you to please look into this issue.Please find the attachment for your reference.
Please find the doc attachment for your reference.Please find the code for the same given below.

Here is the code :

Here richText variable which is a String data type and the value coming as :
/String richtext = “


    + “
  • Set up workshops to define the MVP scope”
    + “
    • Business level workshop

    • + “
    • Technical workshop(s)

    + “

  • + “
  • IBM to summarize MVP scope for review by business and IT

  • + “
  • Review of use cases and MVP scope

  • + “
  • Incorporate feedback and kick-off project

  • + “
  • Ravi7

  • + “
”;/



and the code implmented for the rich text generation on PDF is:


ITextFrame frameToFind = searchFrame(presentation, strToFind); // find parameter to replace
if (frameToFind != null) {
frameToFind.getParagraphs().clear();
System.err.println(“The richText format value after clearing the frameToFind” +richText);
frameToFind.getParagraphs().addFromHtml(richText);
} else { LOG.warning("Rich text parameter not found: " + strToFind); }
}

/** Search all text frames that contain the parameter tag strToFind */
private static ITextFrame searchFrame(Presentation presentation, String strToFind) {
ITextFrame[] textFrames = SlideUtil.getAllTextFrames(presentation, true);
for (ITextFrame frame : textFrames) {
if (frame.getText().contains(strToFind) ) {
return frame;
}
}


Awaiting for your response.




Hi Laurie,

I have observed the information shared by you and have not been able to completely understand the issue incurring on your end. Please share the working sample project along with source presentation and generated output with issue description. Please first try using Aspose.Slides for Java 15.5.1 on your end and if there is still an issue then please share the requested information with us.

Many Thanks,