@@ 6892-6900 (lines=9) @@ | ||
6889 | } |
|
6890 | ||
6891 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6892 | if (!(0x8000 & self::getInt2d($subData, 4))) { |
|
6893 | // absolute row index |
|
6894 | $fr = $frIndex + 1; |
|
6895 | $fr = '$' . $fr; |
|
6896 | } else { |
|
6897 | // row offset |
|
6898 | $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536; |
|
6899 | $fr = $baseRow + $frIndex; |
|
6900 | } |
|
6901 | ||
6902 | // offset: 6; size: 2; last column with relative/absolute flags |
|
6903 | ||
@@ 6921-6929 (lines=9) @@ | ||
6918 | } |
|
6919 | ||
6920 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6921 | if (!(0x8000 & self::getInt2d($subData, 6))) { |
|
6922 | // absolute row index |
|
6923 | $lr = $lrIndex + 1; |
|
6924 | $lr = '$' . $lr; |
|
6925 | } else { |
|
6926 | // row offset |
|
6927 | $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536; |
|
6928 | $lr = $baseRow + $lrIndex; |
|
6929 | } |
|
6930 | ||
6931 | return "$fc$fr:$lc$lr"; |
|
6932 | } |