From ed08d77583634a497c729aac41a044a6bf9e34d8 Mon Sep 17 00:00:00 2001 From: Adrien Loison Date: Sun, 19 Jun 2016 13:52:45 -0700 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 821c3b7..fd896d3 100644 --- a/README.md +++ b/README.md @@ -168,13 +168,12 @@ $style = (new StyleBuilder()) ->setBorder($border) ->build(); -$writer = WriterFactory::create(Type::ODS); -$writer->openToFile(__DIR__ . '/borders.xlsx'); +$writer = WriterFactory::create(Type::XLSX); +$writer->openToFile($filePath); $writer->addRowWithStyle(['Border Bottom Green Thin Dashed'], $style) $writer->close(); - ``` Unfortunately, Spout does not support all the possible formatting options yet. But you can find the most important ones: