@@ 6741-6747 (lines=7) @@ | ||
6738 | $colIndex = 0x00FF & self::getInt2d($cellAddressStructure, 2); |
|
6739 | ||
6740 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6741 | if (!(0x4000 & self::getInt2d($cellAddressStructure, 2))) { |
|
6742 | $column = Cell::stringFromColumnIndex($colIndex); |
|
6743 | $column = '$' . $column; |
|
6744 | } else { |
|
6745 | $colIndex = ($colIndex <= 127) ? $colIndex : $colIndex - 256; |
|
6746 | $column = Cell::stringFromColumnIndex($baseCol + $colIndex); |
|
6747 | } |
|
6748 | ||
6749 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6750 | if (!(0x8000 & self::getInt2d($cellAddressStructure, 2))) { |
|
@@ 6925-6933 (lines=9) @@ | ||
6922 | $fcIndex = 0x00FF & self::getInt2d($subData, 4); |
|
6923 | ||
6924 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6925 | if (!(0x4000 & self::getInt2d($subData, 4))) { |
|
6926 | // absolute column index |
|
6927 | $fc = Cell::stringFromColumnIndex($fcIndex); |
|
6928 | $fc = '$' . $fc; |
|
6929 | } else { |
|
6930 | // column offset |
|
6931 | $fcIndex = ($fcIndex <= 127) ? $fcIndex : $fcIndex - 256; |
|
6932 | $fc = Cell::stringFromColumnIndex($baseCol + $fcIndex); |
|
6933 | } |
|
6934 | ||
6935 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6936 | if (!(0x8000 & self::getInt2d($subData, 4))) { |
|
@@ 6954-6962 (lines=9) @@ | ||
6951 | $lc = Cell::stringFromColumnIndex($baseCol + $lcIndex); |
|
6952 | ||
6953 | // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) |
|
6954 | if (!(0x4000 & self::getInt2d($subData, 6))) { |
|
6955 | // absolute column index |
|
6956 | $lc = Cell::stringFromColumnIndex($lcIndex); |
|
6957 | $lc = '$' . $lc; |
|
6958 | } else { |
|
6959 | // column offset |
|
6960 | $lcIndex = ($lcIndex <= 127) ? $lcIndex : $lcIndex - 256; |
|
6961 | $lc = Cell::stringFromColumnIndex($baseCol + $lcIndex); |
|
6962 | } |
|
6963 | ||
6964 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6965 | if (!(0x8000 & self::getInt2d($subData, 6))) { |