| Excel-Template documentation | Contained in the Excel-Template distribution. |
Excel::Template::Element::FreezePanes - Excel::Template::Element::FreezePanes
To insert an image into the worksheet
FREEZEPANES
This will not conume any columns or rows. It is a zero-width assertion.
None
<freezepanes />
This will do a Freeze Pane at the current cell.
Rob Kinyon (rob.kinyon@gmail.com)
Nothing
| Excel-Template documentation | Contained in the Excel-Template distribution. |
package Excel::Template::Element::FreezePanes; use strict; BEGIN { use vars qw(@ISA); @ISA = qw(Excel::Template::Element); use Excel::Template::Element; } sub render { my $self = shift; my ($context) = @_; my ($row, $col) = map { $context->get( $self, $_ ) } qw( ROW COL ); $context->active_worksheet->freeze_panes( $row, $col ); return 1; } 1; __END__