private static function PHPExcel_Reader_Excel5::_mapBorderStyle in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php \PHPExcel_Reader_Excel5::_mapBorderStyle()
* Map border style * OpenOffice documentation: 2.5.11 * *
Parameters
int $index: * @return string
1 call to PHPExcel_Reader_Excel5::_mapBorderStyle()
- PHPExcel_Reader_Excel5::_readXf in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel5.php - * XF - Extended Format * * This record contains formatting information for cells, rows, columns or styles. * According to http://support.microsoft.com/kb/147732 there are always at least 15 cell style XF * and 1 cell XF. * Inspection of…
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel5.php, line 6839
Class
- PHPExcel_Reader_Excel5
- PHPExcel_Reader_Excel5
Code
private static function _mapBorderStyle($index) {
switch ($index) {
case 0x0:
return PHPExcel_Style_Border::BORDER_NONE;
case 0x1:
return PHPExcel_Style_Border::BORDER_THIN;
case 0x2:
return PHPExcel_Style_Border::BORDER_MEDIUM;
case 0x3:
return PHPExcel_Style_Border::BORDER_DASHED;
case 0x4:
return PHPExcel_Style_Border::BORDER_DOTTED;
case 0x5:
return PHPExcel_Style_Border::BORDER_THICK;
case 0x6:
return PHPExcel_Style_Border::BORDER_DOUBLE;
case 0x7:
return PHPExcel_Style_Border::BORDER_HAIR;
case 0x8:
return PHPExcel_Style_Border::BORDER_MEDIUMDASHED;
case 0x9:
return PHPExcel_Style_Border::BORDER_DASHDOT;
case 0xa:
return PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT;
case 0xb:
return PHPExcel_Style_Border::BORDER_DASHDOTDOT;
case 0xc:
return PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT;
case 0xd:
return PHPExcel_Style_Border::BORDER_SLANTDASHDOT;
default:
return PHPExcel_Style_Border::BORDER_NONE;
}
}