public function writeGroupStyle(XMLWriter $objWriter, Group $group)
{
$shapes = $group->getShapeCollection();
foreach ($shapes as $shape) {
// Increment $this->shapeId
++$this->shapeId;
// Check type
if ($shape instanceof RichText) {
$this->writeTxtStyle($objWriter, $shape);
}
if ($shape instanceof AbstractDrawing) {
$this->writeDrawingStyle($objWriter, $shape);
}
if ($shape instanceof Line) {
$this->writeLineStyle($objWriter, $shape);
}
if ($shape instanceof Table) {
$this->writeTableStyle($objWriter, $shape);
}
}
}