@@ 6717-6723 (lines=7) @@ | ||
6714 | $colIndex = 0x00FF & self::getInt2d($cellAddressStructure, 2); |
|
6715 | ||
6716 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6717 | if (!(0x4000 & self::getInt2d($cellAddressStructure, 2))) { |
|
6718 | $column = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($colIndex); |
|
6719 | $column = '$' . $column; |
|
6720 | } else { |
|
6721 | $colIndex = ($colIndex <= 127) ? $colIndex : $colIndex - 256; |
|
6722 | $column = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $colIndex); |
|
6723 | } |
|
6724 | ||
6725 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6726 | if (!(0x8000 & self::getInt2d($cellAddressStructure, 2))) { |
|
@@ 6901-6909 (lines=9) @@ | ||
6898 | $fcIndex = 0x00FF & self::getInt2d($subData, 4); |
|
6899 | ||
6900 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6901 | if (!(0x4000 & self::getInt2d($subData, 4))) { |
|
6902 | // absolute column index |
|
6903 | $fc = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($fcIndex); |
|
6904 | $fc = '$' . $fc; |
|
6905 | } else { |
|
6906 | // column offset |
|
6907 | $fcIndex = ($fcIndex <= 127) ? $fcIndex : $fcIndex - 256; |
|
6908 | $fc = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $fcIndex); |
|
6909 | } |
|
6910 | ||
6911 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6912 | if (!(0x8000 & self::getInt2d($subData, 4))) { |
|
@@ 6930-6938 (lines=9) @@ | ||
6927 | $lc = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $lcIndex); |
|
6928 | ||
6929 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6930 | if (!(0x4000 & self::getInt2d($subData, 6))) { |
|
6931 | // absolute column index |
|
6932 | $lc = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($lcIndex); |
|
6933 | $lc = '$' . $lc; |
|
6934 | } else { |
|
6935 | // column offset |
|
6936 | $lcIndex = ($lcIndex <= 127) ? $lcIndex : $lcIndex - 256; |
|
6937 | $lc = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $lcIndex); |
|
6938 | } |
|
6939 | ||
6940 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6941 | if (!(0x8000 & self::getInt2d($subData, 6))) { |