blib/lib/Spreadsheet/Reader/ExcelXML/Chartsheet.pm untested

filter: Statementstmt 0.0% 0 / 45 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod n/a totaltotal 0.0% 0 / 55 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Spreadsheet::Reader::ExcelXML::Chartsheet;
2 our $AUTHORITY = 'cpan:JANDREW';
3 use version; our $VERSION = version->declare('v0.16.8');
4 ###LogSD warn "You uncovered internal logging statements for Spreadsheet::Reader::ExcelXML::Chartsheet-$VERSION";
5  
6 use 5.010;
7 use Moose;
8 use MooseX::StrictConstructor;
9 use MooseX::HasDefaults::RO;
10 use Carp qw( confess );
11 use Types::Standard qw( Enum Int Str );
12 use lib '../../../../../../lib';
13 ###LogSD use Log::Shiras::Telephone;
14  
15 use Spreadsheet::Reader::ExcelXML::Types qw( IOFileType );
16  
17 #########1 Dispatch Tables & Package Variables 5#########6#########7#########8#########9
18  
19  
20  
21 #########1 Public Attributes 3#########4#########5#########6#########7#########8#########9
22  
23 has sheet_type =>(
24 isa => Enum[ 'chartsheet' ],
25 default => 'chartsheet',
26 reader => 'get_sheet_type',
27 );
28  
29 has sheet_rel_id =>(
30 isa => Str,
31 reader => 'rel_id',
32 );
33  
34 has sheet_id =>(
35 isa => Int,
36 reader => 'sheet_id',
37 );
38  
39 has sheet_position =>(# XML position
40 isa => Int,
41 reader => 'position',
42 );
43  
44 has sheet_name =>(
45 isa => Str,
46 reader => 'get_name',
47 );
48  
49 has drawing_rel_id =>(
50 isa => Str,
51 writer => '_set_drawing_rel_id',
52 reader => 'get_drawing_rel_id',
53 );
54  
55 has file =>(
56 isa => IOFileType,
57 reader => 'get_file',
58 writer => 'set_file',
59 predicate => 'has_file',
60 clearer => 'clear_file',
61 coerce => 1,
62 trigger => \&_start_xml_reader,
63 handles => [qw( close getline seek )],
64 );
65  
66 has workbook_inst =>(
67 isa => 'Spreadsheet::Reader::ExcelXML::Workbook',
68 writer => 'set_workbook_inst',
69 predicate => '_has_workbook_inst',
70 handles => [qw(
71 get_group_return_type set_error get_defined_conversion
72 set_defined_excel_formats parse_excel_format_string counting_from_zero
73 are_spaces_empty get_shared_string has_shared_strings_interface
74 should_skip_hidden spreading_merged_values starts_at_the_edge
75 get_empty_return_type get_values_only get_epoch_year
76 change_output_encoding get_error_inst has_styles_interface
77 boundary_flag_setting is_empty_the_end get_format
78 )],# The regex import doesn't work here due to the twistiness of the overall package
79 );
80  
81 #########1 Public Methods 3#########4#########5#########6#########7#########8#########9
82  
83  
84  
85 #########1 Private Attributes 3#########4#########5#########6#########7#########8#########9
86  
87  
88  
89 #########1 Private Methods 3#########4#########5#########6#########7#########8#########9
90  
91 ###LogSD sub get_class_space{ 'Chartsheet' }
92  
93 #########1 Phinish 3#########4#########5#########6#########7#########8#########9
94  
95 no Moose;
96 __PACKAGE__->meta->make_immutable;
97  
98 1;
99  
100 #########1 Documentation 3#########4#########5#########6#########7#########8#########9
101 __END__