@@ -116,18 +116,19 @@ $reader->setShouldPreserveEmptyRows(true);
116
116
117
117
For fonts and alignments, {{ site.spout_html }} does not support all the possible formatting options yet. But you can find the most important ones:
118
118
119
- | Category | Property | API
120
- |:----------|:---------------|:--------------------------------------
121
- | Font | Bold | ` StyleBuilder::setFontBold() `
122
- | | Italic | ` StyleBuilder::setFontItalic() `
123
- | | Underline | ` StyleBuilder::setFontUnderline() `
124
- | | Strikethrough | ` StyleBuilder::setFontStrikethrough() `
125
- | | Font name | ` StyleBuilder::setFontName('Arial') `
126
- | | Font size | ` StyleBuilder::setFontSize(14) `
127
- | | Font color | ` StyleBuilder::setFontColor(Color::BLUE) ` <br >` StyleBuilder::setFontColor(Color::rgb(0, 128, 255)) `
128
- | Alignment | Cell alignment | ` StyleBuilder::setCellAlignment(CellAlignment::CENTER) `
129
- | | Wrap text | ` StyleBuilder::setShouldWrapText(true) `
130
-
119
+ | Category | Property | API
120
+ |:---------------------|:---------------|:--------------------------------------
121
+ | Font | Bold | ` StyleBuilder::setFontBold() `
122
+ | | Italic | ` StyleBuilder::setFontItalic() `
123
+ | | Underline | ` StyleBuilder::setFontUnderline() `
124
+ | | Strikethrough | ` StyleBuilder::setFontStrikethrough() `
125
+ | | Font name | ` StyleBuilder::setFontName('Arial') `
126
+ | | Font size | ` StyleBuilder::setFontSize(14) `
127
+ | | Font color | ` StyleBuilder::setFontColor(Color::BLUE) ` <br >` StyleBuilder::setFontColor(Color::rgb(0, 128, 255)) `
128
+ | Alignment | Cell alignment | ` StyleBuilder::setCellAlignment(CellAlignment::CENTER) `
129
+ | | Wrap text | ` StyleBuilder::setShouldWrapText(true) `
130
+ | Format _ (XLSX only)_ | Number format | ` StyleBuilder::setFormat('0.000') `
131
+ | | Date format | ` StyleBuilder::setFormat('m/d/yy h:mm') `
131
132
132
133
### Styling rows
133
134
0 commit comments