summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2022-12-25 18:05:13 +0100
committerjvoisin2022-12-25 18:05:13 +0100
commit62a45c29df6d242f49a32b5c5bf067eac01c2a85 (patch)
treeb89b2378c7aa89fb20034f2165dd252a8632c409
parent6479d869e4134e219f48cb68fc31061c5abbadb2 (diff)
Improve xlsx support
-rw-r--r--libmat2/office.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmat2/office.py b/libmat2/office.py
index 1c1bca8..8ccaa02 100644
--- a/libmat2/office.py
+++ b/libmat2/office.py
@@ -88,6 +88,10 @@ class MSOfficeParser(ZipParser):
88 r'^(?:word|ppt|xl)/_rels/document\.xml\.rels$', 88 r'^(?:word|ppt|xl)/_rels/document\.xml\.rels$',
89 r'^(?:word|ppt|xl)/_rels/footer[0-9]*\.xml\.rels$', 89 r'^(?:word|ppt|xl)/_rels/footer[0-9]*\.xml\.rels$',
90 r'^(?:word|ppt|xl)/_rels/header[0-9]*\.xml\.rels$', 90 r'^(?:word|ppt|xl)/_rels/header[0-9]*\.xml\.rels$',
91 r'^(?:word|ppt|xl)/charts/_rels/chart[0-9]+\.xml\.rels$',
92 r'^(?:word|ppt|xl)/charts/colors[0-9]+\.xml$',
93 r'^(?:word|ppt|xl)/charts/style[0-9]+\.xml$',
94 r'^(?:word|ppt|xl)/drawings/_rels/drawing[0-9]+\.xml\.rels$',
91 r'^(?:word|ppt|xl)/styles\.xml$', 95 r'^(?:word|ppt|xl)/styles\.xml$',
92 # TODO: randomize axId ( https://docs.microsoft.com/en-us/openspecs/office_standards/ms-oi29500/089f849f-fcd6-4fa0-a281-35aa6a432a16 ) 96 # TODO: randomize axId ( https://docs.microsoft.com/en-us/openspecs/office_standards/ms-oi29500/089f849f-fcd6-4fa0-a281-35aa6a432a16 )
93 r'^(?:word|ppt|xl)/charts/chart[0-9]*\.xml$', 97 r'^(?:word|ppt|xl)/charts/chart[0-9]*\.xml$',