How to get value from cell with formats preserved

Topics: Developer Forum
Sep 21 at 7:04 AM
Edited Sep 21 at 8:48 AM
PHPExcel version: 1.8.0
PHP version: 5.6.14
I am working on Excel to Word conversion. Some of the text in the excel cell may have formats (bold, underline , superscript, etc., ) and they are not retrieved exactly as it is using getValue() or getFormattedValue() method in PHP. They are just retrieved as a plain text. How to get the text from cell with formats preserved.

For Example:
Value Inside cell:
As he was valiant I honour him.
As he was valiant I honour him.

Any help would be grateful.!
Thanks in advance.