| Excel-Template documentation | Contained in the Excel-Template distribution. |
Excel::Template::Container::Locked - Excel::Template::Container::Locked
To format all children in locked
LOCKED
Excel::Template::Container::Format
None
None
None
You must have protected the worksheet containing any cells that are affected by this format. Otherwise, this node will have no effect.
<locked>
... Children here
</locked>
In the above example, the children will be displayed (if they are displaying elements) in a locked format. All other formatting will remain the same and the "locked"-ness will end at the end tag.
Rob Kinyon (rob.kinyon@gmail.com)
WORKSHEET, FORMAT
| Excel-Template documentation | Contained in the Excel-Template distribution. |
package Excel::Template::Container::Locked; use strict; BEGIN { use vars qw(@ISA); @ISA = qw( Excel::Template::Container::Format ); use Excel::Template::Container::Format; } sub new { my $class = shift; my $self = $class->SUPER::new(@_); $self->{LOCKED} = 1; return $self; } 1; __END__