PhpOffice\PhpPresentation\Writer\ODPresentation\Styles::writeTableStyle PHP 메소드

writeTableStyle() 보호된 메소드

Write the default style information for a Table shape
protected writeTableStyle ( PhpOffice\Common\XMLWriter $objWriter, Table $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\Table
    protected function writeTableStyle(XMLWriter $objWriter, Table $shape)
    {
        foreach ($shape->getRows() as $row) {
            foreach ($row->getCells() as $cell) {
                if ($cell->getFill()->getFillType() == Fill::FILL_GRADIENT_LINEAR) {
                    if (!in_array($cell->getFill()->getHashCode(), $this->arrayGradient)) {
                        $this->writeGradientFill($objWriter, $cell->getFill());
                    }
                }
            }
        }
    }