From 2bf66a5ae431e3072e4e890dc2324fe0af612d61 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 28 Aug 2013 15:49:12 +0000 Subject: use row and column numbers instead of range for merge function --- lib/Spreadsheet/Template/Processor/Xslate.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Spreadsheet/Template/Processor/Xslate.pm') diff --git a/lib/Spreadsheet/Template/Processor/Xslate.pm b/lib/Spreadsheet/Template/Processor/Xslate.pm index f59b597..fa57380 100644 --- a/lib/Spreadsheet/Template/Processor/Xslate.pm +++ b/lib/Spreadsheet/Template/Processor/Xslate.pm @@ -39,12 +39,12 @@ C<"date_time">, and C<%args> contains any other parameters (such as C, for instance) to declare for the cell. C<$type> is optional, and if not passed, defaults to C<"string">. -=item merge($content, $format, $type, $range, %args) +=item merge($content, $format, $type, $first_row, $first_col, $last_row, $last_col, %args) Returns representation of a range of cells to be merged. C<$content> is the content to be placed in the merged cell. C<$type> is either C<"string">, C<"number">, -or C<"date_time">. C<$range> is the Excel representation -of a range of cells, ex: "A1:B10". C<$format> is the name of a format +or C<"date_time">. C<$first_row>, C<$first_col>, C<$last_row>, C<$last_col> are zero-indexed +Excel row, column numbers. C<$format> is the name of a format declared with the C helper or a hashref of format options. C<%args> contains any other parameters (such as C, for instance) to declare for the cell. -- cgit v1.2.3-54-g00ecf