style instanceof \PhpOffice\PhpWord\Style\Shading)) { return; } $this->xmlWriter->startElement('w:shd'); $this->xmlWriter->writeAttribute('w:val', $this->style->getPattern()); $this->xmlWriter->writeAttribute('w:color', $this->style->getColor()); $this->xmlWriter->writeAttribute('w:fill', $this->style->getFill()); $this->xmlWriter->endElement(); } }