$context->active_worksheet->protect( $password );
}
+ my $keep_zeros = $context->get( $self, 'KEEP_LEADING_ZEROS' );
+ if ( defined $keep_zeros )
+ {
+ $context->active_worksheet->keep_leading_zeros( $keep_zeros ? 1 : 0 );
+ }
+
return $self->SUPER::render($context);
}
This activates the HIDDEN and LOCKED nodes.
-=back 4
+=item * KEEP_LEADING_ZEROS
+
+This will change the behavior of the worksheet to preserve leading zeros.
+
+=back
=head1 CHILDREN