summaryrefslogtreecommitdiffstats
path: root/lib/Spreadsheet/Template/Processor/Xslate.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Spreadsheet/Template/Processor/Xslate.pm')
-rw-r--r--lib/Spreadsheet/Template/Processor/Xslate.pm17
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/Spreadsheet/Template/Processor/Xslate.pm b/lib/Spreadsheet/Template/Processor/Xslate.pm
index 38803c6..e8f3cd4 100644
--- a/lib/Spreadsheet/Template/Processor/Xslate.pm
+++ b/lib/Spreadsheet/Template/Processor/Xslate.pm
@@ -39,15 +39,14 @@ C<"date_time">, and C<%args> contains any other parameters (such as C<formula>,
for instance) to declare for the cell. C<$type> is optional, and if not passed,
defaults to C<"string">.
-=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<$format> is the name of a format
-declared with the C<format> helper or a hashref of format options.
-C<$type> is either C<"string">, C<"number">, or C<"date_time">.
-C<$first_row>, C<$first_col>, C<$last_row>, C<$last_col> are zero-indexed
-Excel row, column numbers. C<%args> contains any other parameters (such as C<formula>,
-for instance) to declare for the cell.
+=item merge($range, $content, $format, $type, %args)
+
+Returns representation of a range of cells to be merged. C<$content>,
+C<$format>, C<$type>, and C<%args> are identical to the parameters listed above
+for the C<c> helper, and C<$range> describes the range of cells to be merged.
+The range can be specified either by an array of two arrays corresponding to
+the row and column indices of the top left and bottom right cell, or by an
+Excel-style range (like C<A1:C3>).
=item true