From 4a346cef0c77900ef3ec50e88a56a1bf10a88781 Mon Sep 17 00:00:00 2001 From: Adrien Loison Date: Thu, 13 Aug 2015 23:02:37 -0700 Subject: [PATCH] Update README.md Display style options as a table instead of bullet points --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5887e70..2f8c5a3 100644 --- a/README.md +++ b/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: -* 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