Spreadsheet-WriteExcel-Worksheet-SheetProtection
view release on metacpan or search on metacpan
SheetProtection.pm view on Meta::CPAN
use vars '$VERSION';
$VERSION = '0.03';
BEGIN {
use Spreadsheet::WriteExcel::Worksheet;
no strict 'refs';
## HACK ALERT!
## Add a _store_eof method to Spreadsheet::WriteExcel::Worksheet to be able to
## add the SHEETPROTECTION record when streaming out file
*{"Spreadsheet::WriteExcel::Worksheet::_store_eof"} = sub {
_store_sheet_protection(@_);
Spreadsheet::WriteExcel::BIFFwriter::_store_eof(@_);
} ;
## Add sheet_protection method
*{"Spreadsheet::WriteExcel::Worksheet::sheet_protection"} = \&sheet_protection;
}
( run in 0.234 second using v1.01-cache-2.11-cpan-4d50c553e7e )