class PHPExcel_RichText_TextElement implements PHPExcel_RichText_ITextElement

PHPExcelRichTextTextElement

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Methods

__construct(string $pText = '')

Create a new PHPExcelRichTextTextElement instance

string
getText()

Get text

setText($pText = '')

Set text

string
getHashCode()

Get hash code

__clone()

Implement PHP __clone to create a deep clone, not just a shallow copy.

Details

at line 49
__construct(string $pText = '')

Create a new PHPExcelRichTextTextElement instance

Parameters

string $pText Text

at line 60
string getText()

Get text

Return Value

string Text

at line 71
PHPExcel_RichText_ITextElement setText($pText = '')

Set text

Parameters

$pText string Text

Return Value

PHPExcel_RichText_ITextElement

at line 82
PHPExcel_Style_Font getFont()

Get font

Return Value

PHPExcel_Style_Font

at line 92
string getHashCode()

Get hash code

Return Value

string Hash code

at line 103
__clone()

Implement PHP __clone to create a deep clone, not just a shallow copy.