Big.pm 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. # DISCLAIMER OF WARRANTY
  2. # Because this software is licensed free of charge, there is no warranty for the software,
  3. # to the extent permitted by applicable law. Except when otherwise stated in writing
  4. # the copyright holders and/or other parties provide the software "as is" without
  5. # warranty of any kind, either expressed or implied, including, but not limited to,
  6. # the implied warranties of merchantability and fitness for a particular purpose.
  7. # The entire risk as to the quality and performance of the software is with you.
  8. # Should the software prove defective, you assume the cost of all necessary
  9. # servicing, repair, or correction.
  10. # In no event unless required by applicable law or agreed to in writing will any
  11. # copyright holder, or any other party who may modify and/or redistribute the software
  12. # as permitted by the above licence, be liable to you for damages, including any general,
  13. # special, incidental, or consequential damages arising out of the use or inability
  14. # to use the software (including but not limited to loss of data or data being rendered
  15. # inaccurate or losses sustained by you or third parties or a failure of the software
  16. # to operate with any other software), even if such holder or other party
  17. # has been advised of the possibility of such damages.
  18. # AUTHOR
  19. # John McNamara jmcnamara@cpan.org
  20. # COPYRIGHT
  21. # Copyright MM-MMX, John McNamara.
  22. # All Rights Reserved. This module is free software. It may be used,
  23. # redistributed and/or modified under the terms of
  24. # the Artistic License(full text of the Artistic License http://dev.perl.org/licenses/artistic.html).
  25. package Spreadsheet::WriteExcel::Big;
  26. ###############################################################################
  27. #
  28. # WriteExcel::Big
  29. #
  30. # Spreadsheet::WriteExcel - Write formatted text and numbers to a
  31. # cross-platform Excel binary file.
  32. #
  33. # Copyright 2000-2010, John McNamara.
  34. #
  35. #
  36. require Exporter;
  37. use strict;
  38. use Spreadsheet::WriteExcel::Workbook;
  39. use vars qw($VERSION @ISA);
  40. @ISA = qw(Spreadsheet::WriteExcel::Workbook Exporter);
  41. $VERSION = '2.37';
  42. ###############################################################################
  43. #
  44. # new()
  45. #
  46. # Constructor. Thin wrapper for a Workbook object.
  47. #
  48. # This module is no longer required directly and its use is deprecated. See
  49. # the Pod documentation below.
  50. #
  51. sub new {
  52. my $class = shift;
  53. my $self = Spreadsheet::WriteExcel::Workbook->new(@_);
  54. # Check for file creation failures before re-blessing
  55. bless $self, $class if defined $self;
  56. return $self;
  57. }
  58. 1;
  59. __END__
  60. =head1 NAME
  61. Big - A class for creating Excel files > 7MB.
  62. =head1 SYNOPSIS
  63. Use of this module is deprecated. See below.
  64. =head1 DESCRIPTION
  65. 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.
  66. As of version 2.17 Spreadsheet::WriteExcel can create files larger than 7MB directly if OLE::Storage_Lite is installed.
  67. This module only exists for backwards compatibility. If your programs use ::Big you should convert them to use Spreadsheet::WritExcel directly.
  68. =head1 REQUIREMENTS
  69. L<OLE::Storage_Lite>.
  70. =head1 AUTHOR
  71. John McNamara jmcnamara@cpan.org
  72. =head1 COPYRIGHT
  73. © MM-MMX, John McNamara.
  74. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.