line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
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
|
|
|
30
|
|
58476
|
use Exporter; |
|
30
|
|
|
|
|
72
|
|
|
30
|
|
|
|
|
1815
|
|
15
|
|
|
|
|
|
|
|
16
|
30
|
|
|
30
|
|
166
|
use strict; |
|
30
|
|
|
|
|
52
|
|
|
30
|
|
|
|
|
1068
|
|
17
|
30
|
|
|
30
|
|
39467
|
use Spreadsheet::WriteExcel::Workbook; |
|
30
|
|
|
|
|
138
|
|
|
30
|
|
|
|
|
2461
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
30
|
|
|
30
|
|
413
|
use vars qw($VERSION @ISA); |
|
30
|
|
|
|
|
71
|
|
|
30
|
|
|
|
|
5117
|
|
22
|
|
|
|
|
|
|
@ISA = qw(Spreadsheet::WriteExcel::Workbook Exporter); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
$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
|
|
|
|
|
|
|
sub new { |
43
|
|
|
|
|
|
|
|
44
|
60
|
|
|
60
|
1
|
887
|
my $class = shift; |
45
|
60
|
|
|
|
|
651
|
my $self = Spreadsheet::WriteExcel::Workbook->new(@_); |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
# Check for file creation failures before re-blessing |
48
|
60
|
50
|
|
|
|
391
|
bless $self, $class if defined $self; |
49
|
|
|
|
|
|
|
|
50
|
60
|
|
|
|
|
333
|
return $self; |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
1; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
__END__ |