| 1 | package Spreadsheet::WriteExcel; | ||||||||||
| 2 | |||||||||||
| 3 | ############################################################################### | ||||||||||
| 4 | # | ||||||||||
| 5 | # WriteExcel. | ||||||||||
| 6 | # | ||||||||||
| 7 | # Spreadsheet::WriteExcel - Write to a cross-platform Excel binary file. | ||||||||||
| 8 | # | ||||||||||
| 9 | # Copyright 2000-2012, John McNamara, jmcnamara@cpan.org | ||||||||||
| 10 | # | ||||||||||
| 11 | # Documentation after __END__ | ||||||||||
| 12 | # | ||||||||||
| 13 | |||||||||||
| 14 | 30 | ▶ | use Exporter; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 15 | |||||||||||
| 16 | 30 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 17 | 30 | ▶ | use Spreadsheet::WriteExcel::Workbook; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 18 | |||||||||||
| 19 | |||||||||||
| 20 | |||||||||||
| 21 | 30 | ▶ | use vars qw($VERSION @ISA); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 22 | 30 | @ISA = qw(Spreadsheet::WriteExcel::Workbook Exporter); | |||||||||
| 23 | |||||||||||
| 24 | 30 | $VERSION = '2.40'; # A farewell to arms. | |||||||||
| 25 | |||||||||||
| 26 | |||||||||||
| 27 | |||||||||||
| 28 | ############################################################################### | ||||||||||
| 29 | # | ||||||||||
| 30 | # new() | ||||||||||
| 31 | # | ||||||||||
| 32 | # Constructor. Wrapper for a Workbook object. | ||||||||||
| 33 | # uses: Spreadsheet::WriteExcel::BIFFwriter | ||||||||||
| 34 | # Spreadsheet::WriteExcel::Chart | ||||||||||
| 35 | # Spreadsheet::WriteExcel::OLEwriter | ||||||||||
| 36 | # Spreadsheet::WriteExcel::Workbook | ||||||||||
| 37 | # Spreadsheet::WriteExcel::Worksheet | ||||||||||
| 38 | # Spreadsheet::WriteExcel::Format | ||||||||||
| 39 | # Spreadsheet::WriteExcel::Formula | ||||||||||
| 40 | # Spreadsheet::WriteExcel::Properties | ||||||||||
| 41 | # | ||||||||||
| 42 | 60 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 43 | |||||||||||
| 44 | 60 | my $class = shift; | |||||||||
| 45 | 60 | my $self = Spreadsheet::WriteExcel::Workbook->new(@_); | |||||||||
| 46 | |||||||||||
| 47 | # Check for file creation failures before re-blessing | ||||||||||
| 48 | 60 | ▶ | bless $self, $class if defined $self; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 49 | |||||||||||
| 50 | 60 | return $self; | |||||||||
| 51 | } | ||||||||||
| 52 | |||||||||||
| 53 | |||||||||||
| 54 | 30 | 1; | |||||||||
| 55 | |||||||||||
| 56 | |||||||||||
| 57 | __END__ | ||||||||||