\PhpOffice\PhpWord\Writer\ODText\StyleImage

Image style writer

Summary

Methods
Properties
Constants
write()
__construct()
No public properties found
No constants found
getXmlWriter()
getStyle()
convertTwip()
writeChildStyle()
assembleStyle()
$style
N/A
No private methods found
$xmlWriter
N/A

Properties

Methods

write()

write() 

Write style.

convertTwip()

convertTwip(integer|float  $value, integer  $default) : integer|float

Convert twip value

Parameters

integer|float $value
integer $default

(int|float)

Returns

integer|float

writeChildStyle()

writeChildStyle(\PhpOffice\Common\XMLWriter  $xmlWriter, string  $name, mixed  $value) 

Write child style.

Parameters

\PhpOffice\Common\XMLWriter $xmlWriter
string $name
mixed $value

assembleStyle()

assembleStyle(array  $styles = array()) : string

Assemble style array into style string

Parameters

array $styles

Returns

string