You are here

function PHPExcel_Writer_Excel5_Worksheet::setOutline in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Worksheet.php \PHPExcel_Writer_Excel5_Worksheet::setOutline()

* This method sets the properties for outlining and grouping. The defaults * correspond to Excel's defaults. * *

Parameters

bool $visible: * @param bool $symbols_below * @param bool $symbols_right * @param bool $auto_style

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Worksheet.php, line 623

Class

PHPExcel_Writer_Excel5_Worksheet
PHPExcel_Writer_Excel5_Worksheet

Code

function setOutline($visible = true, $symbols_below = true, $symbols_right = true, $auto_style = false) {
  $this->_outline_on = $visible;
  $this->_outline_below = $symbols_below;
  $this->_outline_right = $symbols_right;
  $this->_outline_style = $auto_style;

  // Ensure this is a boolean vale for Window2
  if ($this->_outline_on) {
    $this->_outline_on = 1;
  }
}