ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (?Cell $pCell=null) | |
Create a new RichText instance. More... | |
addText (ITextElement $pText) | |
Add text. More... | |
createText ($pText) | |
Create text. More... | |
createTextRun ($pText) | |
Create text run. More... | |
getPlainText () | |
Get plain text. More... | |
__toString () | |
Convert to string. More... | |
getRichTextElements () | |
Get Rich Text elements. More... | |
setRichTextElements (array $textElements) | |
Set Rich Text elements. More... | |
getHashCode () | |
Get hash code. More... | |
__clone () | |
Implement PHP __clone to create a deep clone, not just a shallow copy. More... | |
Private Attributes | |
$richTextElements | |
Definition at line 9 of file RichText.php.
PhpOffice\PhpSpreadsheet\RichText\RichText::__construct | ( | ?Cell | $pCell = null | ) |
Create a new RichText instance.
Cell | $pCell |
Definition at line 23 of file RichText.php.
References PhpOffice\PhpSpreadsheet\RichText\RichText\addText(), PhpOffice\PhpSpreadsheet\RichText\Run\setFont(), and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_STRING.
PhpOffice\PhpSpreadsheet\RichText\RichText::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 159 of file RichText.php.
References $key.
PhpOffice\PhpSpreadsheet\RichText\RichText::__toString | ( | ) |
Convert to string.
Definition at line 109 of file RichText.php.
References PhpOffice\PhpSpreadsheet\RichText\RichText\getPlainText().
PhpOffice\PhpSpreadsheet\RichText\RichText::addText | ( | ITextElement | $pText | ) |
Add text.
ITextElement | $pText | Rich text element |
Definition at line 49 of file RichText.php.
Referenced by PhpOffice\PhpSpreadsheet\RichText\RichText\__construct(), PhpOffice\PhpSpreadsheet\RichText\RichText\createText(), and PhpOffice\PhpSpreadsheet\RichText\RichText\createTextRun().
PhpOffice\PhpSpreadsheet\RichText\RichText::createText | ( | $pText | ) |
Create text.
string | $pText | Text |
Definition at line 63 of file RichText.php.
References PhpOffice\PhpSpreadsheet\RichText\RichText\addText().
PhpOffice\PhpSpreadsheet\RichText\RichText::createTextRun | ( | $pText | ) |
Create text run.
string | $pText | Text |
Definition at line 78 of file RichText.php.
References PhpOffice\PhpSpreadsheet\RichText\RichText\addText().
PhpOffice\PhpSpreadsheet\RichText\RichText::getHashCode | ( | ) |
Get hash code.
Implements PhpOffice\PhpSpreadsheet\IComparable.
Definition at line 143 of file RichText.php.
PhpOffice\PhpSpreadsheet\RichText\RichText::getPlainText | ( | ) |
Get plain text.
Definition at line 91 of file RichText.php.
References $text.
Referenced by PhpOffice\PhpSpreadsheet\RichText\RichText\__toString().
PhpOffice\PhpSpreadsheet\RichText\RichText::getRichTextElements | ( | ) |
Get Rich Text elements.
Definition at line 119 of file RichText.php.
References PhpOffice\PhpSpreadsheet\RichText\RichText\$richTextElements.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\StringTable\writeRichText().
PhpOffice\PhpSpreadsheet\RichText\RichText::setRichTextElements | ( | array | $textElements | ) |
Set Rich Text elements.
ITextElement[] | $textElements Array of elements |
Definition at line 131 of file RichText.php.
|
private |
Definition at line 16 of file RichText.php.
Referenced by PhpOffice\PhpSpreadsheet\RichText\RichText\getRichTextElements().