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(
28272827 $ bBorderRight = ($ conditional ->getStyle ()->getBorders ()->getRight ()->getBorderStyle () !== Border::BORDER_OMIT ) ? 1 : 0 ;
28282828 $ bBorderTop = ($ conditional ->getStyle ()->getBorders ()->getTop ()->getBorderStyle () !== Border::BORDER_OMIT ) ? 1 : 0 ;
28292829 $ 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();
28322831 // Excel does not support conditional diagonal border even for xlsx
28332832 $ bBorderDiagTop = self ::$ always0 ; //$diagonalDirection === Borders::DIAGONAL_DOWN || $diagonalDirection === Borders::DIAGONAL_BOTH;
28342833 $ bBorderDiagBottom = self ::$ always0 ; //$diagonalDirection === Borders::DIAGONAL_UP || $diagonalDirection === Borders::DIAGONAL_BOTH;
You can’t perform that action at this time.
0 commit comments