init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
34
lib/PhpSpreadsheet/RichText/ITextElement.php
Normal file
34
lib/PhpSpreadsheet/RichText/ITextElement.php
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
namespace PhpOffice\PhpSpreadsheet\RichText;
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Style\Font;
|
||||
|
||||
interface ITextElement
|
||||
{
|
||||
/**
|
||||
* Get text.
|
||||
*/
|
||||
public function getText(): string;
|
||||
|
||||
/**
|
||||
* Set text.
|
||||
*
|
||||
* @param string $text Text
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setText(string $text): self;
|
||||
|
||||
/**
|
||||
* Get font.
|
||||
*/
|
||||
public function getFont(): ?Font;
|
||||
|
||||
/**
|
||||
* Get hash code.
|
||||
*
|
||||
* @return string Hash code
|
||||
*/
|
||||
public function getHashCode(): string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue