File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/PhpSpreadsheet/Writer/Xls Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -2827,8 +2827,7 @@ private function writeCFRule(
2827
2827
$ bBorderRight = ($ conditional ->getStyle ()->getBorders ()->getRight ()->getBorderStyle () !== Border::BORDER_OMIT ) ? 1 : 0 ;
2828
2828
$ bBorderTop = ($ conditional ->getStyle ()->getBorders ()->getTop ()->getBorderStyle () !== Border::BORDER_OMIT ) ? 1 : 0 ;
2829
2829
$ bBorderBottom = ($ conditional ->getStyle ()->getBorders ()->getBottom ()->getBorderStyle () !== Border::BORDER_OMIT ) ? 1 : 0 ;
2830
- $ bBorderBottom = ($ conditional ->getStyle ()->getBorders ()->getBottom ()->getBorderStyle () !== Border::BORDER_OMIT ) ? 1 : 0 ;
2831
- $ diagonalDirection = $ conditional ->getStyle ()->getBorders ()->getDiagonalDirection ();
2830
+ //$diagonalDirection = $conditional->getStyle()->getBorders()->getDiagonalDirection();
2832
2831
// Excel does not support conditional diagonal border even for xlsx
2833
2832
$ bBorderDiagTop = self ::$ always0 ; //$diagonalDirection === Borders::DIAGONAL_DOWN || $diagonalDirection === Borders::DIAGONAL_BOTH;
2834
2833
$ bBorderDiagBottom = self ::$ always0 ; //$diagonalDirection === Borders::DIAGONAL_UP || $diagonalDirection === Borders::DIAGONAL_BOTH;
You can’t perform that action at this time.
0 commit comments