public getBorder ( ) : Box\Spout\Writer\Style\Border | ||
Résultat | Box\Spout\Writer\Style\Border |
public function getBorder()
{
return $this->border;
}
/** * Returns the contents of the borders definition for the "<style:table-cell-properties>" section * * @param \Box\Spout\Writer\Style\Style $style * @return string */ private function getBorderXMLContent($style) { $borderProperty = '<style:table-cell-properties %s />'; $borders = array_map(function (BorderPart $borderPart) { return BorderHelper::serializeBorderPart($borderPart); }, $style->getBorder()->getParts()); return sprintf($borderProperty, implode(' ', $borders)); }