@@ 938-945 (lines=8) @@ | ||
935 | // echo '$calculatedValue = ', $calculatedValue, PHP_EOL; |
|
936 | } |
|
937 | break; |
|
938 | case "inlineStr": |
|
939 | // echo 'Inline String', PHP_EOL; |
|
940 | if (isset($c->f)) { |
|
941 | $this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToError'); |
|
942 | } else { |
|
943 | $value = $this->parseRichText($c->is); |
|
944 | } |
|
945 | break; |
|
946 | case "e": |
|
947 | // echo 'Error', PHP_EOL; |
|
948 | if (!isset($c->f)) { |
|
@@ 946-955 (lines=10) @@ | ||
943 | $value = $this->parseRichText($c->is); |
|
944 | } |
|
945 | break; |
|
946 | case "e": |
|
947 | // echo 'Error', PHP_EOL; |
|
948 | if (!isset($c->f)) { |
|
949 | $value = self::castToError($c); |
|
950 | } else { |
|
951 | // Formula |
|
952 | $this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToError'); |
|
953 | // echo '$calculatedValue = ', $calculatedValue, PHP_EOL; |
|
954 | } |
|
955 | break; |
|
956 | default: |
|
957 | // echo 'Default', PHP_EOL; |
|
958 | if (!isset($c->f)) { |