$style
$style : string|\PhpOffice\PhpWord\Style\AbstractStyle
Style; set protected for a while
Table style writer
$style : string|\PhpOffice\PhpWord\Style\AbstractStyle
Style; set protected for a while
$xmlWriter : \PhpOffice\Common\XMLWriter
XML writer
__construct(\PhpOffice\Common\XMLWriter $xmlWriter, string|\PhpOffice\PhpWord\Style\AbstractStyle $style = null)
Create new instance.
\PhpOffice\Common\XMLWriter | $xmlWriter | |
string|\PhpOffice\PhpWord\Style\AbstractStyle | $style |
getXmlWriter() : \PhpOffice\Common\XMLWriter
Get XML Writer
getStyle() : string|\PhpOffice\PhpWord\Style\AbstractStyle
Get Style
writeChildStyle(\PhpOffice\Common\XMLWriter $xmlWriter, string $name, mixed $value)
Write child style.
\PhpOffice\Common\XMLWriter | $xmlWriter | |
string | $name | |
mixed | $value |
writeStyle(\PhpOffice\Common\XMLWriter $xmlWriter, \PhpOffice\PhpWord\Style\Table $style)
Write full style.
\PhpOffice\Common\XMLWriter | $xmlWriter | |
\PhpOffice\PhpWord\Style\Table | $style |
writeLayout(\PhpOffice\Common\XMLWriter $xmlWriter, string $layout)
Enable/Disable automatic resizing of the table
\PhpOffice\Common\XMLWriter | $xmlWriter | |
string | $layout | autofit / fixed |
writeMargin(\PhpOffice\Common\XMLWriter $xmlWriter, \PhpOffice\PhpWord\Style\Table $style)
Write margin.
\PhpOffice\Common\XMLWriter | $xmlWriter | |
\PhpOffice\PhpWord\Style\Table | $style |
writeBorder(\PhpOffice\Common\XMLWriter $xmlWriter, \PhpOffice\PhpWord\Style\Table $style)
Write border.
\PhpOffice\Common\XMLWriter | $xmlWriter | |
\PhpOffice\PhpWord\Style\Table | $style |
writeTblWidth(\PhpOffice\Common\XMLWriter $xmlWriter, string $elementName, string $unit, integer|float $width = null)
Writes a table width
\PhpOffice\Common\XMLWriter | $xmlWriter | |
string | $elementName | |
string | $unit | |
integer|float | $width |
writeFirstRow(\PhpOffice\Common\XMLWriter $xmlWriter, \PhpOffice\PhpWord\Style\Table $style)
Write row style.
\PhpOffice\Common\XMLWriter | $xmlWriter | |
\PhpOffice\PhpWord\Style\Table | $style |
writeShading(\PhpOffice\Common\XMLWriter $xmlWriter, \PhpOffice\PhpWord\Style\Table $style)
Write shading.
\PhpOffice\Common\XMLWriter | $xmlWriter | |
\PhpOffice\PhpWord\Style\Table | $style |
writeIndent(\PhpOffice\Common\XMLWriter $xmlWriter, \PhpOffice\PhpWord\Style\Table $style)
\PhpOffice\Common\XMLWriter | $xmlWriter | |
\PhpOffice\PhpWord\Style\Table | $style |
Loading…