summaryrefslogtreecommitdiff
path: root/libmat2
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2')
-rw-r--r--libmat2/office.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmat2/office.py b/libmat2/office.py
index 7e8c60c..4cd9da2 100644
--- a/libmat2/office.py
+++ b/libmat2/office.py
@@ -87,6 +87,7 @@ class MSOfficeParser(ZipParser):
87 self.files_to_keep = set(map(re.compile, { # type: ignore 87 self.files_to_keep = set(map(re.compile, { # type: ignore
88 r'^\[Content_Types\]\.xml$', 88 r'^\[Content_Types\]\.xml$',
89 r'^_rels/\.rels$', 89 r'^_rels/\.rels$',
90 r'^xl/sharedStrings\.xml$', # https://docs.microsoft.com/en-us/office/open-xml/working-with-the-shared-string-table
90 r'^(?:word|ppt|xl)/_rels/document\.xml\.rels$', 91 r'^(?:word|ppt|xl)/_rels/document\.xml\.rels$',
91 r'^(?:word|ppt|xl)/_rels/footer[0-9]*\.xml\.rels$', 92 r'^(?:word|ppt|xl)/_rels/footer[0-9]*\.xml\.rels$',
92 r'^(?:word|ppt|xl)/_rels/header[0-9]*\.xml\.rels$', 93 r'^(?:word|ppt|xl)/_rels/header[0-9]*\.xml\.rels$',