File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,34 @@ It will convert an HTML table into an Excel spreadsheet. For example; `invoices.
45
45
</table >
46
46
```
47
47
48
+ Attribute in tag html support:
49
+
50
+ |Attributes|Description
51
+ |-----------|-------------
52
+ |bgcolor| set background color to cell ` <td> `
53
+ |colspan| merge column cell
54
+ |rowspan| merge row cell
55
+ |width| set width to cell
56
+ |height| set height to cell
57
+ |data-format| set format ` PhpOffice\PhpSpreadsheet\Style::NumberFormat `
58
+ |data-type| set type ` PhpOffice\PhpSpreadsheet\Cell `
59
+ |align| set text align to cell
60
+ |valign| set vertical align to cell
61
+ |style| set style to cell
62
+
63
+ Style inline support
64
+ - background
65
+ - background-color
66
+ - color
67
+ - border|border-top|border-bottom|border-left|border-right
68
+ - font-size|font-weight|font-sytle|font-family
69
+ - text-decoration: underline|line-through
70
+ - text-align
71
+ - vertical-align
72
+ - with|height
73
+ - word-wrap
74
+ - text-indent
75
+
48
76
You can download the export in your controller:
49
77
50
78
``` php
You can’t perform that action at this time.
0 commit comments