diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-08-28 17:24:32 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-08-28 17:41:58 -0400 |
commit | f79aa6392589db518f7292b89a4c8978f5c7c6a5 (patch) | |
tree | 6f4b2456a7e8c393f9e34ec1ce2f667db761d924 /lib/Spreadsheet/Template/Processor/Xslate.pm | |
parent | f488bab9597a7c78773edfe1ee740525df5bb74e (diff) | |
download | spreadsheet-template-f79aa6392589db518f7292b89a4c8978f5c7c6a5.tar.gz spreadsheet-template-f79aa6392589db518f7292b89a4c8978f5c7c6a5.zip |
fix up the merge and autofilter stuff (#1)
Diffstat (limited to 'lib/Spreadsheet/Template/Processor/Xslate.pm')
-rw-r--r-- | lib/Spreadsheet/Template/Processor/Xslate.pm | 17 |
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 |