rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | package Spreadsheet::WriteExcel::Big; |
| 2 | |
| 3 | ############################################################################### |
| 4 | # |
| 5 | # WriteExcel::Big |
| 6 | # |
| 7 | # Spreadsheet::WriteExcel - Write formatted text and numbers to a |
| 8 | # cross-platform Excel binary file. |
| 9 | # |
| 10 | # Copyright 2000-2010, John McNamara. |
| 11 | # |
| 12 | # |
| 13 | |
| 14 | require Exporter; |
| 15 | |
| 16 | use strict; |
| 17 | use Spreadsheet::WriteExcel::Workbook; |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | use vars qw($VERSION @ISA); |
| 25 | @ISA = qw(Spreadsheet::WriteExcel::Workbook Exporter); |
| 26 | |
| 27 | $VERSION = '2.37'; |
| 28 | |
| 29 | ############################################################################### |
| 30 | # |
| 31 | # new() |
| 32 | # |
| 33 | # Constructor. Thin wrapper for a Workbook object. |
| 34 | # |
| 35 | # This module is no longer required directly and its use is deprecated. See |
| 36 | # the Pod documentation below. |
| 37 | # |
| 38 | sub new { |
| 39 | |
| 40 | my $class = shift; |
| 41 | my $self = Spreadsheet::WriteExcel::Workbook->new(@_); |
| 42 | |
| 43 | # Check for file creation failures before re-blessing |
| 44 | bless $self, $class if defined $self; |
| 45 | |
| 46 | return $self; |
| 47 | } |
| 48 | |
| 49 | |
| 50 | 1; |
| 51 | |
| 52 | |
| 53 | __END__ |
| 54 | |
| 55 | |
| 56 | |
| 57 | =head1 NAME |
| 58 | |
| 59 | |
| 60 | Big - A class for creating Excel files > 7MB. |
| 61 | |
| 62 | |
| 63 | =head1 SYNOPSIS |
| 64 | |
| 65 | Use of this module is deprecated. See below. |
| 66 | |
| 67 | |
| 68 | =head1 DESCRIPTION |
| 69 | |
| 70 | The module was a sub-class of Spreadsheet::WriteExcel used for creating Excel files greater than 7MB. However, it is no longer required and is now deprecated. |
| 71 | |
| 72 | As of version 2.17 Spreadsheet::WriteExcel can create files larger than 7MB directly if OLE::Storage_Lite is installed. |
| 73 | |
| 74 | This module only exists for backwards compatibility. If your programs use ::Big you should convert them to use Spreadsheet::WritExcel directly. |
| 75 | |
| 76 | |
| 77 | =head1 REQUIREMENTS |
| 78 | |
| 79 | L<OLE::Storage_Lite>. |
| 80 | |
| 81 | |
| 82 | =head1 AUTHOR |
| 83 | |
| 84 | |
| 85 | John McNamara jmcnamara@cpan.org |
| 86 | |
| 87 | |
| 88 | =head1 COPYRIGHT |
| 89 | |
| 90 | |
| 91 | © MM-MMX, John McNamara. |
| 92 | |
| 93 | |
| 94 | All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself. |