PhpOffice\PhpPresentation\Writer\ODPresentation\Styles::writeGroupStyle PHP Méthode

writeGroupStyle() protected méthode

Writes the style information for a group of shapes
protected writeGroupStyle ( PhpOffice\Common\XMLWriter $objWriter, Group $group )
$objWriter PhpOffice\Common\XMLWriter
$group PhpOffice\PhpPresentation\Shape\Group
    protected function writeGroupStyle(XMLWriter $objWriter, Group $group)
    {
        $shapes = $group->getShapeCollection();
        foreach ($shapes as $shape) {
            if ($shape instanceof Table) {
                $this->writeTableStyle($objWriter, $shape);
            } elseif ($shape instanceof Group) {
                $this->writeGroupStyle($objWriter, $shape);
            }
        }
    }