aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjvoisin <julien.voisin@dustri.org>2020-04-06 20:47:32 +0200
committerjvoisin <julien.voisin@dustri.org>2020-04-06 20:47:32 +0200
commitc8dc020dc5bedc9b954441d5c250fbbce58b4664 (patch)
treec397b349029c4b9918216e0e129c762cca46b3dc
parent599909a7606a3109d51f9ec07a8aa40ae704c496 (diff)
downloadexternal_mat2-c8dc020dc5bedc9b954441d5c250fbbce58b4664.tar.gz
external_mat2-c8dc020dc5bedc9b954441d5c250fbbce58b4664.tar.bz2
external_mat2-c8dc020dc5bedc9b954441d5c250fbbce58b4664.zip
Improve xlsx support
-rw-r--r--libmat2/office.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmat2/office.py b/libmat2/office.py
index fe2f189..0298e38 100644
--- a/libmat2/office.py
+++ b/libmat2/office.py
@@ -90,6 +90,9 @@ class MSOfficeParser(ZipParser):
r'^(?:word|ppt|xl)/_rels/document\.xml\.rels$',
r'^(?:word|ppt|xl)/_rels/footer[0-9]*\.xml\.rels$',
r'^(?:word|ppt|xl)/_rels/header[0-9]*\.xml\.rels$',
+ r'^(?:word|ppt|xl)/styles.xml$',
+ r'^xl//workbook.xml$',
+ r'^xl//worksheets/sheet[0-9]+.xml$',
r'^ppt/slideLayouts/_rels/slideLayout[0-9]+\.xml\.rels$',
r'^ppt/slideLayouts/slideLayout[0-9]+\.xml$',
r'^(?:word|ppt|xl)/tableStyles\.xml$',