I am using PHP 5.2.10 along with PHPExcel 1.7.2;
I noticed the following behaviour, which seems to be wrong:
I have the following Excel 5 cell: <red font>Text 1</red font><black>Text 2</black><red font>Text 3</red font> (the tags are not actually in the cell, just to mention that I have Text 1 in red color and so on).
When I go through the cells, Text 1 appears as PHPExcel_RichText_TextElement (which is to bad because I cannot access getfont() and find out that the text is red) whereas Text 2 and Text3 are properly marked as PHPExcel_RichText_Run where I can access all
the good methods.
Please tell me if you have a solution so that I can access the text color of the first element.