From 192659cb24697e0cc361c15d5d9b903b069c40d6 Mon Sep 17 00:00:00 2001 From: Adrien Loison Date: Sun, 19 Jun 2016 20:20:49 -0700 Subject: [PATCH] Update README.md (#256) --- 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: