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

getStyleSectionContent() защищенный Метод

Returns the contents of the "" section, inside "" section
protected getStyleSectionContent ( Style $style ) : string
$style Box\Spout\Writer\Style\Style
Результат string
    protected function getStyleSectionContent($style)
    {
        $styleIndex = $style->getId() + 1;
        // 1-based
        $content = '<style:style style:data-style-name="N0" style:family="table-cell" style:name="ce' . $styleIndex . '" style:parent-style-name="Default">';
        $content .= $this->getTextPropertiesSectionContent($style);
        $content .= $this->getTableCellPropertiesSectionContent($style);
        $content .= '</style:style>';
        return $content;
    }