Update README.md

Display style options as a table instead of bullet points
This commit is contained in:
Adrien Loison 2015-08-13 23:02:37 -07:00
parent 1c8934790d
commit 4a346cef0c

View File

@ -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:
* Bold - `StyleBuilder::setFontBold()`
* Italic - `StyleBuilder::setFontItalic()`
* Underline - `StyleBuilder::setFontUnderline()`
* Strikethrough - `StyleBuilder::setFontStrikeThrough()`
* Font name - `StyleBuilder::setFontName($fontName)`
* Font size - `StyleBuilder::setFontSize($fontSize)`
* Wrap text - `StyleBuilder::setShouldWrapText()`
Category | Property | API
----------|---------------|---------------------------------------
Font | Bold | `StyleBuilder::setFontBold()`
| Italic | `StyleBuilder::setFontItalic()`
| Underline | `StyleBuilder::setFontUnderline()`
| Strikethrough | `StyleBuilder::setFontStrikethrough()`
| Font name | `StyleBuilder::setFontName('Arial')`
| Font size | `StyleBuilder::setFontSize(14)`
Alignment | Wrap text | `StyleBuilder::setShouldWrapText()`
#### Strings storage