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

Free Support Forum - aspose.com

PPT table cell format

Hi,


I am using Aspose.Slides for Java 16.9.0.0.

I am adding table to a slide based on this tutorial
http://www.aspose.com/docs/display/slidesjava/Creating+a+Table+on+PowerPoint+Slide

However, the tutorial does not cover cell formatting sample code. I have to format 
the content of a column to show all values in this format $##,##0.00. <font size=“2” style=“font-family: “Courier New”;”>How can I format
table columns with specific formats (java patterns)?

Any help/guidance would be great.

Thanks
Giri

Hi Giri,


I have observed your comments. I have shared a piece of code in a text file with you. I hope this will help you to achieve your requirements.

Best Regards,

I format the String in java and then set the cell text. This issue is now resolved.


<pre style=“background-color: rgb(255, 255, 255); font-family: “Courier New”; font-size: 9pt;”>cell.getTextFrame().setText(formattedText)

Hi Giri,


We are glad to know that your issue has been resolved by yourself.

Best Regards,