ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
toRichTextObject ($html) | |
Parse HTML formatting and return the resulting RichText. More... | |
Static Public Member Functions | |
static | colourNameLookup (string $rgb) |
Protected Member Functions | |
initialise () | |
cleanWhitespace () | |
buildTextRun () | |
rgbToColour ($rgb) | |
startFontTag ($tag) | |
endFontTag () | |
startBoldTag () | |
endBoldTag () | |
startItalicTag () | |
endItalicTag () | |
startUnderlineTag () | |
endUnderlineTag () | |
startSubscriptTag () | |
endSubscriptTag () | |
startSuperscriptTag () | |
endSuperscriptTag () | |
startStrikethruTag () | |
endStrikethruTag () | |
breakTag () | |
parseTextNode (DOMText $textNode) | |
handleCallback (DOMElement $element, $callbackTag, array $callbacks) | |
parseElementNode (DOMElement $element) | |
parseElements (DOMNode $element) | |
Protected Attributes | |
$face | |
$size | |
$color | |
$bold = false | |
$italic = false | |
$underline = false | |
$superscript = false | |
$subscript = false | |
$strikethrough = false | |
$startTagCallbacks | |
$endTagCallbacks | |
$stack = [] | |
$stringData = '' | |
$richTextObject | |
Static Protected Attributes | |
static | $colourMap |
|
protected |
|
protected |
Definition at line 649 of file Html.php.
References PhpOffice\PhpSpreadsheet\Helper\Html\$stringData, $text, color, size, and PhpOffice\PhpSpreadsheet\Style\Font\UNDERLINE_SINGLE.
Referenced by PhpOffice\PhpSpreadsheet\Helper\Html\parseTextNode().
|
protected |
Definition at line 635 of file Html.php.
Referenced by PhpOffice\PhpSpreadsheet\Helper\Html\toRichTextObject().
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
string | $callbackTag |
Definition at line 806 of file Html.php.
Referenced by PhpOffice\PhpSpreadsheet\Helper\Html\parseElementNode().
|
protected |
Definition at line 596 of file Html.php.
Referenced by PhpOffice\PhpSpreadsheet\Helper\Html\toRichTextObject().
|
protected |
Definition at line 816 of file Html.php.
References PhpOffice\PhpSpreadsheet\Helper\Html\handleCallback(), and PhpOffice\PhpSpreadsheet\Helper\Html\parseElements().
Referenced by PhpOffice\PhpSpreadsheet\Helper\Html\parseElements().
|
protected |
Definition at line 829 of file Html.php.
References PhpOffice\PhpSpreadsheet\Helper\Html\parseElementNode(), and PhpOffice\PhpSpreadsheet\Helper\Html\parseTextNode().
Referenced by PhpOffice\PhpSpreadsheet\Helper\Html\parseElementNode(), and PhpOffice\PhpSpreadsheet\Helper\Html\toRichTextObject().
|
protected |
Definition at line 792 of file Html.php.
References PhpOffice\PhpSpreadsheet\Helper\Html\buildTextRun().
Referenced by PhpOffice\PhpSpreadsheet\Helper\Html\parseElements().
|
protected |
Definition at line 687 of file Html.php.
References $values.
Referenced by PhpOffice\PhpSpreadsheet\Helper\Html\startFontTag().
|
protected |
|
protected |
Definition at line 702 of file Html.php.
References $tag, and PhpOffice\PhpSpreadsheet\Helper\Html\rgbToColour().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
PhpOffice\PhpSpreadsheet\Helper\Html::toRichTextObject | ( | $html | ) |
Parse HTML formatting and return the resulting RichText.
string | $html |
Definition at line 613 of file Html.php.
References $html, PhpOffice\PhpSpreadsheet\Helper\Html\$richTextObject, PhpOffice\PhpSpreadsheet\Helper\Html\cleanWhitespace(), PhpOffice\PhpSpreadsheet\Helper\Html\initialise(), and PhpOffice\PhpSpreadsheet\Helper\Html\parseElements().
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
Definition at line 594 of file Html.php.
Referenced by PhpOffice\PhpSpreadsheet\Helper\Html\toRichTextObject().
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 589 of file Html.php.
Referenced by PhpOffice\PhpSpreadsheet\Helper\Html\buildTextRun().
|
protected |
|
protected |
|
protected |