I am new to PHPExcel and I try to create a rich text cell and it works fine. Now I want to append to a rich text and I get the problem, that when I try to enhance my first text (which comes anywhere from a function call and I do not have the previos specification)
the formats are lost.
Is there a solution to get the "bold" text to the second RichtText object and keep the bold format ?
Thank you all for your help !
OS: Windows (XAMPP) Apache/2.2.21 (Win32)
PHP Version 5.3.8
Short example :
$objRichText = new PHPExcel_RichText();
$objRichText->createText("This text is ");
$objBold = $objRichText->createTextRun("bold ");
$objRichText->createText(" or so ");
// Rich Text based on $objRichText !
$objRichText1 = new PHPExcel_RichText();
$objBig = $objRichText1->createTextRun(" and also big ");
$objRichText1->createText(" or not ");