From 0e62411e834f094d6d5aa1f01a83e17d0ab2f3ad Mon Sep 17 00:00:00 2001 From: protobi Date: Tue, 8 Mar 2016 13:26:42 -0500 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d664844..3359c8a 100644 --- a/README.md +++ b/README.md @@ -258,7 +258,20 @@ XLSX.writeFile(workbook, 'out.xlsx'); ```js /* bookType can be 'xlsx' or 'xlsm' or 'xlsb' */ -var wopts = { bookType:'xlsx', bookSST:false, type:'binary' }; +var wopts = { + bookType:'xlsx', + bookSST:false, + type:'binary', + showGridLines: false, + defaultCellStyle: { font: { name: "Verdana", sz: 11, color: "FF00FF88"}, fill: {fgColor: {rgb: "FFFFAA00"}}}, + Props: { + title: "Goldilocks", + description: "Girl discovers mysterious cottage in forest ", + creator:"Traditional folk tale", + keywords: "Bears; porridge; property rights; iterative optimization", + subject: "subject" + } + }; var wbout = XLSX.write(workbook,wopts); @@ -504,7 +517,7 @@ The exported `write` and `writeFile` functions accept an options argument: | cellDates | false | Store dates as type `d` (default is `n`) | | bookSST | false | Generate Shared String Table ** | | bookType | 'xlsx' | Type of Workbook ("xlsx" or "xlsm" or "xlsb") | -| showGridLines | true | Show gridlines on all pages | +| showGridLines | true | Show grid lines on all pages (note capital L) | | tabSelected | '1' | Initial tab selected | - `bookSST` is slower and more memory intensive, but has better compatibility