summaryrefslogtreecommitdiffstats
path: root/lib/Spreadsheet/ParseXLSX.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Spreadsheet/ParseXLSX.pm')
-rw-r--r--lib/Spreadsheet/ParseXLSX.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Spreadsheet/ParseXLSX.pm b/lib/Spreadsheet/ParseXLSX.pm
index 72c8793..2aecac3 100644
--- a/lib/Spreadsheet/ParseXLSX.pm
+++ b/lib/Spreadsheet/ParseXLSX.pm
@@ -226,6 +226,14 @@ sub _parse_sheet {
$twig->purge;
},
+ 'sheetPr/tabColor' => sub {
+ my ( $twig, $tab_color ) = @_;
+
+ $sheet->{TabColor} = $self->_color($sheet->{_Book}{Color}, $tab_color);
+
+ $twig->purge;
+ },
+
}
);