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;
    }