From f79aa6392589db518f7292b89a4c8978f5c7c6a5 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 28 Aug 2013 17:24:32 -0400 Subject: fix up the merge and autofilter stuff (#1) --- lib/Spreadsheet/Template/Processor/Xslate.pm | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 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 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, 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 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, -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 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). =item true -- cgit v1.2.3-54-g00ecf