diff options
author | Jason <jason@socialflow.com> | 2013-08-28 15:49:12 +0000 |
---|---|---|
committer | Jason <jason@socialflow.com> | 2013-08-28 15:49:12 +0000 |
commit | 2bf66a5ae431e3072e4e890dc2324fe0af612d61 (patch) | |
tree | 3a75f777cae77d7d3f4d29498e9ae25d37061cfc /lib/Spreadsheet/Template.pm | |
parent | 3566bcd52ef96d25f8c8f695e0f43e768b315c16 (diff) | |
download | spreadsheet-template-2bf66a5ae431e3072e4e890dc2324fe0af612d61.tar.gz spreadsheet-template-2bf66a5ae431e3072e4e890dc2324fe0af612d61.zip |
use row and column numbers instead of range for merge function
Diffstat (limited to 'lib/Spreadsheet/Template.pm')
-rw-r--r-- | lib/Spreadsheet/Template.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Spreadsheet/Template.pm b/lib/Spreadsheet/Template.pm index b0fe7c9..2e4fe61 100644 --- a/lib/Spreadsheet/Template.pm +++ b/lib/Spreadsheet/Template.pm @@ -107,7 +107,13 @@ been preprocessed is a JSON file, with a structure that looks like this: ] ], merge : [ - ["range":"A1:D1","contents":"Merged Contents","format": { "color":"#000000" }] + ["contents":"Merged Contents","format":{"color":#000000"}, + "type":"string", + "first_row": 0, + "first_col": 0, + "last_row" : 0, + "last_col" : 3 + ] ] } ] |