line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Spreadsheet::WriteExcelXML; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
############################################################################### |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# WriteExcelXML. |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
# Spreadsheet::WriteExcelXML - Create an Excel file in XML format. |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# Copyright 2000-2010, John McNamara, jmcnamara@cpan.org |
10
|
|
|
|
|
|
|
# |
11
|
|
|
|
|
|
|
# Documentation after __END__ |
12
|
|
|
|
|
|
|
# |
13
|
|
|
|
|
|
|
|
14
|
22
|
|
|
22
|
|
22134
|
use Exporter; |
|
22
|
|
|
|
|
170
|
|
|
22
|
|
|
|
|
1001
|
|
15
|
|
|
|
|
|
|
|
16
|
22
|
|
|
22
|
|
137
|
use strict; |
|
22
|
|
|
|
|
39
|
|
|
22
|
|
|
|
|
452
|
|
17
|
22
|
|
|
22
|
|
11576
|
use Spreadsheet::WriteExcelXML::Workbook; |
|
22
|
|
|
|
|
81
|
|
|
22
|
|
|
|
|
1402
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
22
|
|
|
22
|
|
193
|
use vars qw($VERSION @ISA); |
|
22
|
|
|
|
|
48
|
|
|
22
|
|
|
|
|
2664
|
|
22
|
|
|
|
|
|
|
@ISA = qw(Spreadsheet::WriteExcelXML::Workbook Exporter); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
$VERSION = '0.15'; # A Bookshop Idyll. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
############################################################################### |
29
|
|
|
|
|
|
|
# |
30
|
|
|
|
|
|
|
# new() |
31
|
|
|
|
|
|
|
# |
32
|
|
|
|
|
|
|
sub new { |
33
|
|
|
|
|
|
|
|
34
|
22
|
|
|
22
|
1
|
2357
|
my $class = shift; |
35
|
22
|
|
|
|
|
199
|
my $self = Spreadsheet::WriteExcelXML::Workbook->new(@_); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
# Check for file creation failures before re-blessing |
38
|
22
|
50
|
|
|
|
142
|
bless $self, $class if defined $self; |
39
|
|
|
|
|
|
|
|
40
|
22
|
|
|
|
|
76
|
return $self; |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
1; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
__END__ |