Box\Spout\Writer\ODS\Helper\StyleHelper::getTableCellPropertiesSectionContent PHP Method

getTableCellPropertiesSectionContent() private method

Returns the contents of the "" section, inside "" section
private getTableCellPropertiesSectionContent ( Style $style ) : string
$style Box\Spout\Writer\Style\Style
return string
    private function getTableCellPropertiesSectionContent($style)
    {
        $content = '';
        if ($style->shouldWrapText()) {
            $content .= $this->getWrapTextXMLContent();
        }
        if ($style->shouldApplyBorder()) {
            $content .= $this->getBorderXMLContent($style);
        }
        if ($style->shouldApplyBackgroundColor()) {
            $content .= $this->getBackgroundColorXMLContent($style);
        }
        return $content;
    }