summaryrefslogtreecommitdiffstats
path: root/lib/Spreadsheet/Template.pm
diff options
context:
space:
mode:
authorJason <jason@socialflow.com>2013-08-28 15:49:12 +0000
committerJason <jason@socialflow.com>2013-08-28 15:49:12 +0000
commit2bf66a5ae431e3072e4e890dc2324fe0af612d61 (patch)
tree3a75f777cae77d7d3f4d29498e9ae25d37061cfc /lib/Spreadsheet/Template.pm
parent3566bcd52ef96d25f8c8f695e0f43e768b315c16 (diff)
downloadspreadsheet-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.pm8
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
+ ]
]
}
]