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

Free Support Forum - aspose.com

Need AsposeCode for Aspose Slides to generate Rich Text Format in generating PDF


Presently I am working on Aspose PPTX slides in java. I
am trying to convert RichText support for the PDF generation using
PPTx file.Please let me know if there is any library available for
RichText format using ASOPSE Slides for Java.

Here I am attaching the code below for the Normal Text Format which was implemented:.But I need code for to generate it in

private static void replaceTextField(Presentation presentation, String strToFind, Field field) {

System.err.println(“The String value to find is::”+ strToFind);
ITextFrame[] textFrames = SlideUtil.getAllTextFrames(presentation, true);

for (int i=0; i<textFrames.length; i++) {
for (IParagraph para : textFrames[i].getParagraphs()) {
List newPorts = new ArrayList();
for (IPortion port : para.getPortions()) {
if (port.getText().contains(strToFind)) {
int index = port.getText().indexOf(strToFind);
IPortion port1, port2, port3;
if (index > 0) {
port1 = new Portion((Portion)port);
port1.setText(port.getText().substring(0, index));

port2 = new Portion((Portion)port);
if (field.isRequired() != null && field.isRequired() && StringUtils.isEmpty(field.getValue())) {
// Required field is missing, highlight the field
} else {
if (StringUtils.isEmpty(field.getValue())) {
} else {

if (index + strToFind.length() < port.getText().length()) {
port3 = new Portion((Portion)port);
// port.setText(port.getText().replace(strToFind, field.getValue()));
} else {
for (IPortion newPort : newPorts) {

Currently we are using aspose-slides-15.3.0-jdk16.jar for aspose slides.
Can you please let me know from which version supports RichTextArea.
Please find the attachments related to the the input for the slide.
Here I am sending input html format which comes to the method.
Please find the below format:

  • 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

  • update9

  • and please find the expected output as attachment.

    But I need the code for RichText format
    Please update me with exact code to for the slide to generate in the PDF. We are in a critical phase and need your urgent attention to this matter.


    I have observed the requirements shared by you and like to share that Aspose.Slides does not support importing or adding rich text inside slides text. You need to write your own routine in this regard to parse the rich text and its properties and set the appropriate properties for presentation text using Aspose.Slides. There is no direct mapping or import support for Rich text available in Aspose.Slides. Please share, if I may help you further in this regard.

    Many Thanks,

    I wanted to get in touch but I see that all operators are offline in the chat option. What are the support hours?


    I have observed your comments and like to share with you that you will see the operators available by July 22, 2015.

    We are sorry for your inconvenience,