Skip to content

Latest commit

 

History

History
151 lines (84 loc) · 1.26 KB

93-api-class-rich-text.md

File metadata and controls

151 lines (84 loc) · 1.26 KB

Class \avadim\FastExcelWriter\RichText



__construct()


public function __construct(?string $text = '')

Parameters

  • string|null $text

addText()


public function addText(string $text): RichText

Parameters

  • string $text

setBold()


public function setBold(): RichText

Parameters

None


setColor()


public function setColor(string $color): RichText

Parameters

  • string $color

setFont()


public function setFont(string $font): RichText

Parameters

  • string $font

setItalic()


public function setItalic(): RichText

Parameters

None


outXml()


public function outXml(): string

Parameters

None


setSize()


public function setSize(int $size): RichText

Parameters

  • int $size

setUnderline()


public function setUnderline(): RichText

Parameters

None