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: 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