Intermediate commit - just have to add/fix POD for two classes, then done
[p5sagit/Excel-Template.git] / lib / Excel / Template / Container / Locked.pm
CommitLineData
d0eafc11 1package Excel::Template::Container::Locked;
2
3use strict;
4
5BEGIN {
6 use vars qw(@ISA);
7 @ISA = qw( Excel::Template::Container::Format );
8
9 use Excel::Template::Container::Format;
10}
11
12sub new
13{
14 my $class = shift;
15 my $self = $class->SUPER::new(@_);
16
17 $self->{LOCKED} = 1;
18
19 return $self;
20}
21
221;
23__END__
24
25=head1 NAME
26
27Excel::Template::Container::Locked - Excel::Template::Container::Locked
28
29=head1 PURPOSE
30
31To format all children in locked
32
33=head1 NODE NAME
34
35LOCKED
36
37=head1 INHERITANCE
38
39Excel::Template::Container::Format
40
41=head1 ATTRIBUTES
42
43None
44
45=head1 CHILDREN
46
47None
48
49=head1 EFFECTS
50
51None
52
53=head1 DEPENDENCIES
54
dba6a68e 55You must have protected the worksheet containing any cells that are affected by
56this format. Otherwise, this node will have no effect.
d0eafc11 57
58=head1 USAGE
59
60 <locked>
61 ... Children here
62 </locked>
63
64In the above example, the children will be displayed (if they are displaying
65elements) in a locked format. All other formatting will remain the same and the
66"locked"-ness will end at the end tag.
67
68=head1 AUTHOR
69
c09684ff 70Rob Kinyon (rob.kinyon@gmail.com)
d0eafc11 71
72=head1 SEE ALSO
73
dba6a68e 74WORKSHEET, FORMAT
d0eafc11 75
76=cut