\PhpOffice\PhpWord\Writer\RTF\StyleParagraph

RTF paragraph style writer

Summary

Methods
Properties
Constants
write()
__construct()
setParentWriter()
getParentWriter()
getStyle()
setNestedLevel()
No public properties found
No constants found
assembleCss()
getValueIf()
No protected properties found
N/A
writeIndentation()
writeTabs()
$parentWriter
$style
$nestedLevel
N/A

Properties

$nestedLevel

$nestedLevel : integer

Depth of table container nested level; Primarily used for RTF writer/reader

0 = Not in a table; 1 = in a table; 2 = in a table inside another table, etc.

Type

integer

Methods

write()

write() : string

Write style

Returns

string

setNestedLevel()

setNestedLevel(integer  $value) 

Set nested level.

Parameters

integer $value

assembleCss()

assembleCss(array  $css) : string

Takes array where of CSS properties / values and converts to CSS string

Parameters

array $css

Returns

string

getValueIf()

getValueIf(boolean|null  $condition, string  $value) : string

Get value if .

..

Parameters

boolean|null $condition
string $value

Returns

string

writeIndentation()

writeIndentation(null|\PhpOffice\PhpWord\Style\Indentation  $indent = null) : string

Writes an \PhpOffice\PhpWord\Style\Indentation

Parameters

null|\PhpOffice\PhpWord\Style\Indentation $indent

Returns

string

writeTabs()

writeTabs(array<mixed,\PhpOffice\PhpWord\Style\Tab>  $tabs = null) : string

Writes tabs

Parameters

array<mixed,\PhpOffice\PhpWord\Style\Tab> $tabs

Returns

string