Added more tests for conditionals. Need to fix linking in POD. - Intermediate commit!
[p5sagit/Excel-Template.git] / lib / Excel / Template / Factory.pm
index 52fe723..98187b2 100644 (file)
@@ -30,6 +30,8 @@ my %Manifest = (
     'SHADOW'    => 'Excel::Template::Container::Shadow',
     'STRIKEOUT' => 'Excel::Template::Container::Strikeout',
 
+    'KEEP_LEADING_ZEROS' => 'Excel::Template::Container::KeepLeadingZeros',
+
 # These are the helper objects
 # They are also in here to make E::T::Factory::isa() work.
     'CONTEXT'    => 'Excel::Template::Context',
@@ -45,7 +47,7 @@ my %Manifest = (
 my %isBuildable = map { $_ => ~~1 } qw(
     WORKBOOK WORKSHEET
     FORMAT BOLD HIDDEN ITALIC LOCKED OUTLINE SHADOW STRIKEOUT
-    IF ROW LOOP SCOPE
+    IF ROW LOOP SCOPE KEEP_LEADING_ZEROS
     CELL FORMULA
     VAR BACKREF RANGE
 );