@@ 6695-6701 (lines=7) @@ | ||
6692 | $colIndex = 0x00FF & self::getInt2d($cellAddressStructure, 2); |
|
6693 | ||
6694 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6695 | if (!(0x4000 & self::getInt2d($cellAddressStructure, 2))) { |
|
6696 | $column = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($colIndex); |
|
6697 | $column = '$' . $column; |
|
6698 | } else { |
|
6699 | $colIndex = ($colIndex <= 127) ? $colIndex : $colIndex - 256; |
|
6700 | $column = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $colIndex); |
|
6701 | } |
|
6702 | ||
6703 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6704 | if (!(0x8000 & self::getInt2d($cellAddressStructure, 2))) { |
|
@@ 6873-6881 (lines=9) @@ | ||
6870 | $fcIndex = 0x00FF & self::getInt2d($subData, 4); |
|
6871 | ||
6872 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6873 | if (!(0x4000 & self::getInt2d($subData, 4))) { |
|
6874 | // absolute column index |
|
6875 | $fc = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($fcIndex); |
|
6876 | $fc = '$' . $fc; |
|
6877 | } else { |
|
6878 | // column offset |
|
6879 | $fcIndex = ($fcIndex <= 127) ? $fcIndex : $fcIndex - 256; |
|
6880 | $fc = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $fcIndex); |
|
6881 | } |
|
6882 | ||
6883 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6884 | if (!(0x8000 & self::getInt2d($subData, 4))) { |
|
@@ 6902-6910 (lines=9) @@ | ||
6899 | $lc = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $lcIndex); |
|
6900 | ||
6901 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6902 | if (!(0x4000 & self::getInt2d($subData, 6))) { |
|
6903 | // absolute column index |
|
6904 | $lc = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($lcIndex); |
|
6905 | $lc = '$' . $lc; |
|
6906 | } else { |
|
6907 | // column offset |
|
6908 | $lcIndex = ($lcIndex <= 127) ? $lcIndex : $lcIndex - 256; |
|
6909 | $lc = \PhpOffice\PhpSpreadsheet\Cell::stringFromColumnIndex($baseCol + $lcIndex); |
|
6910 | } |
|
6911 | ||
6912 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6913 | if (!(0x8000 & self::getInt2d($subData, 6))) { |