1 package Excel::Template::Container::Worksheet;
7 @ISA = qw(Excel::Template::Container);
9 use Excel::Template::Container;
17 $context->new_worksheet( $self );
19 my $password = $context->get( $self, 'PROTECT' );
20 if (defined $password)
22 $context->active_worksheet->protect( $password );
25 return $self->SUPER::render($context);
33 Excel::Template::Container::Worksheet - Excel::Template::Container::Worksheet
37 To provide a new worksheet.
45 Excel::Template::Container
53 This is the name of the worksheet to be added.
57 If the attribute exists, it will mark the worksheet as being protected. Whatever
58 value is set will be used as the password.
60 This activates the HIDDEN and LOCKED nodes.
78 <worksheet name="My Taxes">
82 In the above example, the children will be executed in the context of the
87 Rob Kinyon (rob.kinyon@gmail.com)