Documentation

Numbering extends AbstractStyle
in package

Numbering style writer.

Table of Contents

Properties

$style  : AbstractStyle|string
Style; set protected for a while.
$xmlWriter  : XMLWriter
XML writer.

Methods

__construct()  : mixed
Create new instance.
write()  : void
Write style.
assembleStyle()  : string
Assemble style array into style string.
convertTwip()  : float|int
Convert twip value.
getStyle()  : AbstractStyle|string
Get Style.
getXmlWriter()  : XMLWriter
Get XML Writer.
writeChildStyle()  : void
Write child style.
writeOnOf()  : null|string
Writes boolean as 0 or 1.

Properties

Methods

assembleStyle()

Assemble style array into style string.

protected assembleStyle([array<string|int, mixed> $styles = [] ]) : string
Parameters
$styles : array<string|int, mixed> = []
Return values
string

convertTwip()

Convert twip value.

protected convertTwip(float|int $value[, int $default = 0 ]) : float|int
Parameters
$value : float|int
$default : int = 0

(int|float)

Return values
float|int

writeChildStyle()

Write child style.

protected writeChildStyle(XMLWriter $xmlWriter, string $name, mixed $value) : void
Parameters
$xmlWriter : XMLWriter
$name : string
$value : mixed

writeOnOf()

Writes boolean as 0 or 1.

protected writeOnOf([bool $value = null ]) : null|string
Parameters
$value : bool = null
Return values
null|string

        
On this page

Search results