@@ 6936-6944 (lines=9) @@ | ||
6933 | } |
|
6934 | ||
6935 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6936 | if (!(0x8000 & self::getInt2d($subData, 4))) { |
|
6937 | // absolute row index |
|
6938 | $fr = $frIndex + 1; |
|
6939 | $fr = '$' . $fr; |
|
6940 | } else { |
|
6941 | // row offset |
|
6942 | $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536; |
|
6943 | $fr = $baseRow + $frIndex; |
|
6944 | } |
|
6945 | ||
6946 | // offset: 6; size: 2; last column with relative/absolute flags |
|
6947 | ||
@@ 6965-6973 (lines=9) @@ | ||
6962 | } |
|
6963 | ||
6964 | // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) |
|
6965 | if (!(0x8000 & self::getInt2d($subData, 6))) { |
|
6966 | // absolute row index |
|
6967 | $lr = $lrIndex + 1; |
|
6968 | $lr = '$' . $lr; |
|
6969 | } else { |
|
6970 | // row offset |
|
6971 | $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536; |
|
6972 | $lr = $baseRow + $lrIndex; |
|
6973 | } |
|
6974 | ||
6975 | return "$fc$fr:$lc$lr"; |
|
6976 | } |