You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org). Thia is a
9
9
10
10
### Added
11
11
12
+
- Option to use OldCalculatedValue in ToArray and Relatives. [Issue #1810](https://github.com/PHPOffice/PhpSpreadsheet/issues/1810)[PR #4787](https://github.com/PHPOffice/PhpSpreadsheet/pull/4787)
12
13
- Add checkbox style (Xlsx and Html). [PR #4781](https://github.com/PHPOffice/PhpSpreadsheet/pull/4781)
13
14
- Writer/Html add ability to set line ending. [PR #4779](https://github.com/PHPOffice/PhpSpreadsheet/pull/4779)
14
15
- Writer/Html optionally save formulas as data attributes. [PR #4783](https://github.com/PHPOffice/PhpSpreadsheet/pull/4783)
Copy file name to clipboardExpand all lines: src/PhpSpreadsheet/Worksheet/Worksheet.php
+26-11Lines changed: 26 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -2985,19 +2985,24 @@ public function fromArray(array $source, mixed $nullValue = null, string $startC
2985
2985
* @param null|bool|float|int|RichText|string $nullValue value to use when null
2986
2986
* @param bool $formatData Whether to format data according to cell's style.
2987
2987
* @param bool $lessFloatPrecision If true, formatting unstyled floats will convert them to a more human-friendly but less computationally accurate value
2988
+
* @param bool $oldCalculatedValue If calculateFormulas is false and this is true, use oldCalculatedFormula instead.
* True - Don't return values for rows/columns that are defined as hidden.
3028
3033
* @param bool $reduceArrays If true and result is a formula which evaluates to an array, reduce it to the top leftmost value.
3029
3034
* @param bool $lessFloatPrecision If true, formatting unstyled floats will convert them to a more human-friendly but less computationally accurate value
3035
+
* @param bool $oldCalculatedValue If calculateFormulas is false and this is true, use oldCalculatedFormula instead.
3030
3036
*
3031
3037
* @return mixed[][]
3032
3038
*/
@@ -3038,12 +3044,13 @@ public function rangeToArray(
@@ -3064,6 +3071,7 @@ public function rangeToArray(
3064
3071
* True - Don't return values for rows/columns that are defined as hidden.
3065
3072
* @param bool $reduceArrays If true and result is a formula which evaluates to an array, reduce it to the top leftmost value.
3066
3073
* @param bool $lessFloatPrecision If true, formatting unstyled floats will convert them to a more human-friendly but less computationally accurate value
3074
+
* @param bool $oldCalculatedValue If calculateFormulas is false and this is true, use oldCalculatedFormula instead.
3067
3075
*
3068
3076
* @return mixed[][]
3069
3077
*/
@@ -3076,13 +3084,14 @@ public function rangesToArray(
@@ -3104,6 +3113,7 @@ public function rangesToArray(
3104
3113
* True - Don't return values for rows/columns that are defined as hidden.
3105
3114
* @param bool $reduceArrays If true and result is a formula which evaluates to an array, reduce it to the top leftmost value.
3106
3115
* @param bool $lessFloatPrecision If true, formatting unstyled floats will convert them to a more human-friendly but less computationally accurate value
3116
+
* @param bool $oldCalculatedValue If calculateFormulas is false and this is true, use oldCalculatedFormula instead.
3107
3117
*
3108
3118
* @return Generator<array<mixed>>
3109
3119
*/
@@ -3115,7 +3125,8 @@ public function rangeToArrayYieldRows(
@@ -3284,6 +3295,7 @@ private function validateNamedRange(string $definedName, bool $returnNullIfInval
3284
3295
* True - Don't return values for rows/columns that are defined as hidden.
3285
3296
* @param bool $reduceArrays If true and result is a formula which evaluates to an array, reduce it to the top leftmost value.
3286
3297
* @param bool $lessFloatPrecision If true, formatting unstyled floats will convert them to a more human-friendly but less computationally accurate value
3298
+
* @param bool $oldCalculatedValue If calculateFormulas is false and this is true, use oldCalculatedFormula instead.
3287
3299
*
3288
3300
* @return mixed[][]
3289
3301
*/
@@ -3295,7 +3307,8 @@ public function namedRangeToArray(
@@ -3323,6 +3336,7 @@ public function namedRangeToArray(
3323
3336
* True - Don't return values for rows/columns that are defined as hidden.
3324
3337
* @param bool $reduceArrays If true and result is a formula which evaluates to an array, reduce it to the top leftmost value.
3325
3338
* @param bool $lessFloatPrecision If true, formatting unstyled floats will convert them to a more human-friendly but less computationally accurate value
3339
+
* @param bool $oldCalculatedValue If calculateFormulas is false and this is true, use oldCalculatedFormula instead.
0 commit comments