@@ -37,9 +37,7 @@ $spreadsheet->getActiveSheet()
37
37
### Creating a new Cell
38
38
39
39
If you make a call to ` getCell() ` , and the cell doesn't already exist, then
40
- PhpSpreadsheet will (by default) create the cell for you. If you don't want
41
- to create a new cell, then you can pass a second argument of false, and then
42
- ` getCell() ` will return a null if the cell doesn't exist.
40
+ PhpSpreadsheet will create that cell for you.
43
41
44
42
### BEWARE: Cells assigned to variables as a Detached Reference
45
43
@@ -532,7 +530,7 @@ types of entered data using a cell's `setValue()` method (the
532
530
Optionally, the default behaviour of PhpSpreadsheet can be modified,
533
531
allowing easier data entry. For example, a
534
532
` \PhpOffice\PhpSpreadsheet\Cell\AdvancedValueBinder ` class is available.
535
- It automatically converts percentages, number in scientific format, and
533
+ It automatically converts percentages, numbers in scientific format, and
536
534
dates entered as strings to the correct format, also setting the cell's
537
535
style information. The following example demonstrates how to set the
538
536
value binder in PhpSpreadsheet:
@@ -577,7 +575,9 @@ $stringValueBinder->setNumericConversion(false)
577
575
\PhpOffice\PhpSpreadsheet\Cell\Cell::setValueBinder( $stringValueBinder );
578
576
```
579
577
580
- ** Creating your own value binder is relatively straightforward.** When more specialised
578
+ ### Creating your own value binder
579
+
580
+ Creating your own value binder is relatively straightforward. When more specialised
581
581
value binding is required, you can implement the
582
582
` \PhpOffice\PhpSpreadsheet\Cell\IValueBinder ` interface or extend the existing
583
583
` \PhpOffice\PhpSpreadsheet\Cell\DefaultValueBinder ` or
0 commit comments