summaryrefslogtreecommitdiffstats
path: root/lib/Spreadsheet/ParseXLSX.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-05-13 17:26:54 -0500
committerJesse Luehrs <doy@tozt.net>2013-05-13 17:26:54 -0500
commitf384d8055ff4fb94c5dc1dff9535d437a735e869 (patch)
treeac2c78dcbaf9021e14e53b579d8abb177dfdeb5d /lib/Spreadsheet/ParseXLSX.pm
parent4f7a8fec04501efb2cf1c7b1789d74ca8a3bf757 (diff)
downloadspreadsheet-parsexlsx-f384d8055ff4fb94c5dc1dff9535d437a735e869.tar.gz
spreadsheet-parsexlsx-f384d8055ff4fb94c5dc1dff9535d437a735e869.zip
fill in the rest of these values
Diffstat (limited to 'lib/Spreadsheet/ParseXLSX.pm')
-rw-r--r--lib/Spreadsheet/ParseXLSX.pm39
1 files changed, 27 insertions, 12 deletions
diff --git a/lib/Spreadsheet/ParseXLSX.pm b/lib/Spreadsheet/ParseXLSX.pm
index 2972c5f..2827539 100644
--- a/lib/Spreadsheet/ParseXLSX.pm
+++ b/lib/Spreadsheet/ParseXLSX.pm
@@ -199,24 +199,39 @@ sub _parse_styles {
my ($workbook, $styles) = @_;
my %halign = (
- none => 0,
- left => 1,
- center => 2,
- right => 3,
- # XXX ...
+ center => 2,
+ centerContinuous => 6,
+ distributed => 7,
+ fill => 4,
+ general => 0,
+ justify => 5,
+ left => 1,
+ right => 3,
);
my %valign = (
- top => 0,
- center => 1,
- bottom => 2,
- # XXX ...
+ bottom => 2,
+ center => 1,
+ distributed => 4,
+ justify => 3,
+ top => 0,
);
my %border = (
- none => 0,
- thin => 5,
- # XXX ...
+ dashDot => 9,
+ dashDotDot => 11,
+ dashed => 3,
+ dotted => 4,
+ double => 6,
+ hair => 7,
+ medium => 2,
+ mediumDashDot => 10,
+ mediumDashDotDot => 12,
+ mediumDashed => 8,
+ none => 0,
+ slantDashDot => 13,
+ thick => 5,
+ thin => 1,
);
my @fills = map {