Update README.md
Display style options as a table instead of bullet points
This commit is contained in:
parent
1c8934790d
commit
4a346cef0c
17
README.md
17
README.md
@ -171,13 +171,16 @@ $writer->close();
|
|||||||
```
|
```
|
||||||
|
|
||||||
Unfortunately, Spout does not support all the possible formatting options yet. But you can find the most important ones:
|
Unfortunately, Spout does not support all the possible formatting options yet. But you can find the most important ones:
|
||||||
* Bold - `StyleBuilder::setFontBold()`
|
|
||||||
* Italic - `StyleBuilder::setFontItalic()`
|
Category | Property | API
|
||||||
* Underline - `StyleBuilder::setFontUnderline()`
|
----------|---------------|---------------------------------------
|
||||||
* Strikethrough - `StyleBuilder::setFontStrikeThrough()`
|
Font | Bold | `StyleBuilder::setFontBold()`
|
||||||
* Font name - `StyleBuilder::setFontName($fontName)`
|
| Italic | `StyleBuilder::setFontItalic()`
|
||||||
* Font size - `StyleBuilder::setFontSize($fontSize)`
|
| Underline | `StyleBuilder::setFontUnderline()`
|
||||||
* Wrap text - `StyleBuilder::setShouldWrapText()`
|
| Strikethrough | `StyleBuilder::setFontStrikethrough()`
|
||||||
|
| Font name | `StyleBuilder::setFontName('Arial')`
|
||||||
|
| Font size | `StyleBuilder::setFontSize(14)`
|
||||||
|
Alignment | Wrap text | `StyleBuilder::setShouldWrapText()`
|
||||||
|
|
||||||
|
|
||||||
#### Strings storage
|
#### Strings storage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user