Box\Spout\Writer\ODS\Helper\StyleHelper::getTableCellPropertiesSectionContent PHP Метод

getTableCellPropertiesSectionContent() приватный Метод

Returns the contents of the "" section, inside "" section
private getTableCellPropertiesSectionContent ( Style $style ) : string
$style Box\Spout\Writer\Style\Style
Результат 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;
    }