Method | Description | |
---|---|---|
__construct ( ) | Create a new \PhpOffice\PhpPresentation\Shape\RichText\Paragraph instance | |
__toString ( ) : string | Convert to string | |
addText ( PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface $pText = null ) : |
Add text | |
createBreak ( ) : |
Create break | |
createText ( string $pText = '' ) : |
Create text (can not be formatted !) | |
createTextRun ( string $pText = '' ) : PhpOffice\PhpPresentation\Shape\RichText\Run | Create text run (can be formatted) | |
getAlignment ( ) : |
Get alignment | |
getBulletStyle ( ) : |
Get bullet style | |
getFont ( ) : |
Get font | |
getHashCode ( ) : string | Get hash code | |
getHashIndex ( ) : string | Get hash index | |
getLineSpacing ( ) : integer | ||
getPlainText ( ) : string | Get plain text | |
getRichTextElements ( ) : PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface[] | Get Rich Text elements | |
setAlignment ( |
Set alignment | |
setBulletStyle ( |
Set bullet style | |
setFont ( |
Set font | |
setHashIndex ( string $value ) | Set hash index | |
setLineSpacing ( integer $lineSpacing ) : |
||
setRichTextElements ( PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface[] $pElements = null ) : |
Set Rich Text elements |
public __construct ( ) |
public addText ( PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface $pText = null ) : |
||
$pText | PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface | Rich text element |
return |
public createText ( string $pText = '' ) : |
||
$pText | string | Text |
return |
public createTextRun ( string $pText = '' ) : PhpOffice\PhpPresentation\Shape\RichText\Run | ||
$pText | string | Text |
return | PhpOffice\PhpPresentation\Shape\RichText\Run |
public getAlignment ( ) : |
||
return |
public getBulletStyle ( ) : |
||
return |
public getFont ( ) : |
||
return |
public getHashIndex ( ) : string | ||
return | string | Hash index |
public getRichTextElements ( ) : PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface[] | ||
return | PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface[] |
public setAlignment ( |
||
$alignment | ||
return |
public setBulletStyle ( |
||
$style | ||
return |
public setFont ( |
||
$pFont | Font | |
return |
public setHashIndex ( string $value ) | ||
$value | string | Hash index |
public setLineSpacing ( integer $lineSpacing ) : |
||
$lineSpacing | integer | |
return |
public setRichTextElements ( PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface[] $pElements = null ) : |
||
$pElements | PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface[] | Array of elements |
return |