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

Free Support Forum - aspose.com

Table text color

Hi,


In the attached presentation, I have a table with some text in first two cells of the first column. I’m trying to get the color of “Text2” in the second cell of the first column. When I get the color via code, value is [r=0,g=204,b=153] which is not black as it is shown in PowerPoint.

Here’s the code I used:

String presentationPath = “Fruehe_Arzneimittelentwicklung_KAE_31Mai2013_website.pptx”;

InputStream stream = new FileInputStream(presentationPath);

Presentation presentation = new Presentation(stream);

stream.close();
ISlide slide = presentation.getSlides().get_Item(0);
ITable table = (ITable) slide.getShapes().get_Item(0);
ICell cell = table.get_Item(0, 1);
IParagraph paragraph = cell.getTextFrame().getParagraphs().get_Item(0);
IPortion portion = paragraph.getPortions().get_Item(0);
System.out.println(portion.getText());
IPortionFormatEffectiveData effectiveData = portion.createPortionFormatEffective();
System.out.println(effectiveData.getFillFormat().getSolidFillColor());

Can you check this?

Thanks,
Zeljko

Hi Zeljko,


Thank you for posting.

I have observed your comments and worked with the presentation file shared by you. I have been able to reproduce the specified issue. A ticket with ID SLIDESJAVA-35183 has been logged in our issue tracking system to further investigate and resolve the issue.This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-35183) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan