From 1a51c404230df92b19d1d7e68610bc984bbdba13 Mon Sep 17 00:00:00 2001 From: Ilya Radchenko Date: Thu, 12 Mar 2015 10:47:35 -0400 Subject: [PATCH 1/2] Remove broken link --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index bdf1ce6..4775e35 100644 --- a/README.md +++ b/README.md @@ -575,5 +575,3 @@ Open Document Format for Office Applications Version 1.2 (29 September 2011) [![Build Status](https://travis-ci.org/SheetJS/js-xlsx.svg?branch=master)](https://travis-ci.org/SheetJS/js-xlsx) [![Coverage Status](http://img.shields.io/coveralls/SheetJS/js-xlsx/master.svg)](https://coveralls.io/r/SheetJS/js-xlsx?branch=master) - -[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/ed5bb2c4c4346a474fef270f847f3f78 "githalytics.com")](http://githalytics.com/SheetJS/js-xlsx) From ad2a1203f1c98a6dda47f0351a38721c1f284ef7 Mon Sep 17 00:00:00 2001 From: Pieter Sheth-Voss Date: Thu, 12 Mar 2015 23:47:02 -0400 Subject: [PATCH 2/2] Update README.md Add notes for bordering merged cells --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4775e35..cc97f91 100644 --- a/README.md +++ b/README.md @@ -464,15 +464,13 @@ top-level attributes: `fill`, `font`, `numFmt`, `alignment`, and `border`. | | diagonalDown | `true||false` - - -**COLOR_SPEC** Colors for `fill`, `font`, and `border` are specified as objects, either: +**COLOR_SPEC**: Colors for `fill`, `font`, and `border` are specified as objects, either: * `{ auto: 1}` specifying automatic values * `{ rgb: "FFFFAA00" }` specifying a hex ARGB value * `{ theme: "1", tint: "-0.25"}` specifying an integer index to a theme color and a tint value (default 0) * `{ indexed: 64}` default value for `fill.bgColor` -**BORDER_STYLE** is a string value which may take on one of the following values: +**BORDER_STYLE**: Border style is a string value which may take on one of the following values: * `thin` * `medium` * `thick` @@ -487,6 +485,14 @@ top-level attributes: `fill`, `font`, `numFmt`, `alignment`, and `border`. * `slantDashDot` +Borders for merged areas are specified for each cell within the merged area. So to apply a box border to a merged area of 3x3 cells, border styles would need to be specified for eight different cells: +* left borders for the three cells on the left, +* right borders for the cells on the right +* top borders for the cells on the top +* bottom borders for the cells on the left + + + ## Tested Environments - NodeJS 0.8, 0.10 (latest release), 0.11 (unstable)