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