From 62a45c29df6d242f49a32b5c5bf067eac01c2a85 Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Sun, 25 Dec 2022 18:05:13 +0100
Subject: [PATCH] Improve xlsx support

---
 libmat2/office.py | 4 ++++
 1 file changed, 4 insertions(+)

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):
             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)/charts/_rels/chart[0-9]+\.xml\.rels$',
+            r'^(?:word|ppt|xl)/charts/colors[0-9]+\.xml$',
+            r'^(?:word|ppt|xl)/charts/style[0-9]+\.xml$',
+            r'^(?:word|ppt|xl)/drawings/_rels/drawing[0-9]+\.xml\.rels$',
             r'^(?:word|ppt|xl)/styles\.xml$',
             # TODO: randomize axId ( https://docs.microsoft.com/en-us/openspecs/office_standards/ms-oi29500/089f849f-fcd6-4fa0-a281-35aa6a432a16 )
             r'^(?:word|ppt|xl)/charts/chart[0-9]*\.xml$',
-- 
GitLab