chengkun
2025-09-12 26c5c0296e7c094f9a7ae4a4bb3c975796992eaf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
}