Update README.md
This commit is contained in:
parent
e30bc37448
commit
ed08d77583
@ -168,13 +168,12 @@ $style = (new StyleBuilder())
|
|||||||
->setBorder($border)
|
->setBorder($border)
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
$writer = WriterFactory::create(Type::ODS);
|
$writer = WriterFactory::create(Type::XLSX);
|
||||||
$writer->openToFile(__DIR__ . '/borders.xlsx');
|
$writer->openToFile($filePath);
|
||||||
|
|
||||||
$writer->addRowWithStyle(['Border Bottom Green Thin Dashed'], $style)
|
$writer->addRowWithStyle(['Border Bottom Green Thin Dashed'], $style)
|
||||||
|
|
||||||
$writer->close();
|
$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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user