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

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

Returns the content of the "" section, inside "styles.xml" file.
protected getFontFaceSectionContent ( ) : string
Результат string
    protected function getFontFaceSectionContent()
    {
        $content = '<office:font-face-decls>';
        foreach ($this->getUsedFonts() as $fontName) {
            $content .= '<style:font-face style:name="' . $fontName . '" svg:font-family="' . $fontName . '"/>';
        }
        $content .= '</office:font-face-decls>';
        return $content;
    }