public shouldApplyFont ( ) : boolean | ||
리턴 | boolean | Whether specific font properties should be applied |
public function shouldApplyFont()
{
return $this->shouldApplyFont;
}
/** * Returns the contents of the "<style:text-properties>" section, inside "<style:style>" section * * @param \Box\Spout\Writer\Style\Style $style * @return string */ private function getTextPropertiesSectionContent($style) { $content = ''; if ($style->shouldApplyFont()) { $content .= $this->getFontSectionContent($style); } return $content; }