We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d3ff9c + e4d66fa commit bec8449Copy full SHA for bec8449
1 file changed
UPGRADE.md
@@ -30,6 +30,33 @@ To
30
$writer = SimpleExcelWriter::create(file: $file, delimiter: ';');
31
```
32
33
+### Replace StyleBuilder with Style
34
+
35
+In OpenSpout v4 the `StyleBuilder` is removed and integrated inside the `Style` class.
36
37
+Update code like this...
38
39
+```php
40
+use OpenSpout\Common\Entity\Style\Style;
41
+use OpenSpout\Writer\Common\Creator\Style\StyleBuilder;
42
43
+$builder = new StyleBuilder();
44
+$builder
45
+ ->setFontBold()
46
+ ->setFontName('Sans');
47
+```
48
49
+... to ...
50
51
52
53
54
+$style = new Style();
55
+$style
56
57
58
59
60
### Deprecated setting the type manually
61
62
In v4 of openspout/openspout it is no longer possible to explicitly set the type.
0 commit comments