class PHPExcel_RichText_Run extends PHPExcel_RichText_TextElement implements PHPExcel_RichText_ITextElement

PHPExcelRichTextRun

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 PHPExcelRichTextRun instance

string
getText()

Get 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 PHPExcelRichTextRun instance

Parameters

string $pText Text

string getText()

Get text

Return Value

string Text

PHPExcel_RichText_ITextElement setText($pText = '')

Set text

Parameters

$pText string Text

Return Value

PHPExcel_RichText_ITextElement

at line 61
PHPExcel_Style_Font getFont()

Get font

Return Value

PHPExcel_Style_Font

at line 84
string getHashCode()

Get hash code

Return Value

string Hash code

at line 96
__clone()

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

at line 73
PHPExcel_RichText_ITextElement setFont(PHPExcel_Style_Font $pFont = null)

Set font

Parameters

PHPExcel_Style_Font $pFont Font

Return Value

PHPExcel_RichText_ITextElement

Exceptions

PHPExcel_Exception