Box\Spout\Writer\Style\Style::shouldApplyBorder PHP Method

shouldApplyBorder() public method

public shouldApplyBorder ( ) : boolean
return boolean
    public function shouldApplyBorder()
    {
        return $this->shouldApplyBorder;
    }

Usage Example

Esempio n. 1
0
 /**
  * Returns the contents of the "<style:table-cell-properties>" section, inside "<style:style>" section
  *
  * @param \Box\Spout\Writer\Style\Style $style
  * @return 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;
 }
All Usage Examples Of Box\Spout\Writer\Style\Style::shouldApplyBorder