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

Hi,

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));
newPorts.add(port1);
}

port2 = new Portion((Portion)port);
if (field.isRequired() != null && field.isRequired() && StringUtils.isEmpty(field.getValue())) {
port2.setText(strToFind);
// Required field is missing, highlight the field
port2.getPortionFormat().getFillFormat().getSolidFillColor().setColor(Color.RED);
port2.getPortionFormat().getFillFormat().setFillType(FillType.Solid);
} else {
if (StringUtils.isEmpty(field.getValue())) {
port2.setText("");
} else {
port2.setText(field.getValue());
}
}
newPorts.add(port2);

if (index + strToFind.length() < port.getText().length()) {
port3 = new Portion((Portion)port);
port3.setText(port.getText().substring(index+strToFind.length()));
newPorts.add(port3);
}
// port.setText(port.getText().replace(strToFind, field.getValue()));
} else {
newPorts.add(port);
}
}
para.getPortions().clear();
for (IPortion newPort : newPorts) {
para.getPortions().add(newPort);
}
textFrames[i].joinPortionsWithSameFormatting();
textFrames[i].getTextFrameFormat().setAutofitType(TextAutofitType.Normal);
}
}
}


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.



    Hi,





    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?

    Hi,


    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,