@@ 6757-6763 (lines=7) @@ | ||
6754 | $colIndex = 0x00FF & self::getInt2d($cellAddressStructure, 2); |
|
6755 | ||
6756 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6757 | if (!(0x4000 & self::getInt2d($cellAddressStructure, 2))) { |
|
6758 | $column = \PhpSpreadsheet\Cell::stringFromColumnIndex($colIndex); |
|
6759 | $column = '$' . $column; |
|
6760 | } else { |
|
6761 | $colIndex = ($colIndex <= 127) ? $colIndex : $colIndex - 256; |
|
6762 | $column = \PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $colIndex); |
|
6763 | } |
|
6764 | ||
6765 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6766 | if (!(0x8000 & self::getInt2d($cellAddressStructure, 2))) { |
|
@@ 6935-6943 (lines=9) @@ | ||
6932 | $fcIndex = 0x00FF & self::getInt2d($subData, 4); |
|
6933 | ||
6934 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6935 | if (!(0x4000 & self::getInt2d($subData, 4))) { |
|
6936 | // absolute column index |
|
6937 | $fc = \PhpSpreadsheet\Cell::stringFromColumnIndex($fcIndex); |
|
6938 | $fc = '$' . $fc; |
|
6939 | } else { |
|
6940 | // column offset |
|
6941 | $fcIndex = ($fcIndex <= 127) ? $fcIndex : $fcIndex - 256; |
|
6942 | $fc = \PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $fcIndex); |
|
6943 | } |
|
6944 | ||
6945 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6946 | if (!(0x8000 & self::getInt2d($subData, 4))) { |
|
@@ 6964-6972 (lines=9) @@ | ||
6961 | $lc = \PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $lcIndex); |
|
6962 | ||
6963 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6964 | if (!(0x4000 & self::getInt2d($subData, 6))) { |
|
6965 | // absolute column index |
|
6966 | $lc = \PhpSpreadsheet\Cell::stringFromColumnIndex($lcIndex); |
|
6967 | $lc = '$' . $lc; |
|
6968 | } else { |
|
6969 | // column offset |
|
6970 | $lcIndex = ($lcIndex <= 127) ? $lcIndex : $lcIndex - 256; |
|
6971 | $lc = \PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $lcIndex); |
|
6972 | } |
|
6973 | ||
6974 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6975 | if (!(0x8000 & self::getInt2d($subData, 6))) { |