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.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Spreadsheet/ParseXLSX.pm b/lib/Spreadsheet/ParseXLSX.pm
index 2ede920..3e7a5c3 100644
--- a/lib/Spreadsheet/ParseXLSX.pm
+++ b/lib/Spreadsheet/ParseXLSX.pm
@@ -358,8 +358,8 @@ sub _parse_styles {
# UnderlineStyle => $iUnderline,
Name => $_->first_child('name')->att('val'),
- # Bold => $bBold,
- # Italic => $bItalic,
+ Bold => $_->has_child('b') ? 1 : 0,
+ Italic => $_->has_child('i') ? 1 : 0,
# Underline => $bUnderline,
# Strikeout => $bStrikeout,
)