diff options
| author | jvoisin | 2020-05-17 16:53:36 +0200 |
|---|---|---|
| committer | jvoisin | 2020-05-17 16:53:36 +0200 |
| commit | d8b68ef68e1d5e6a3276b7f833e4bdd4281b42f9 (patch) | |
| tree | fc270b49ecda385b5a1f76b5d4be008231545621 /libmat2 | |
| parent | c8dc020dc5bedc9b954441d5c250fbbce58b4664 (diff) | |
Improve a bit Microsoft word support
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/office.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmat2/office.py b/libmat2/office.py index 0298e38..3a06624 100644 --- a/libmat2/office.py +++ b/libmat2/office.py | |||
| @@ -90,7 +90,9 @@ class MSOfficeParser(ZipParser): | |||
| 90 | r'^(?:word|ppt|xl)/_rels/document\.xml\.rels$', | 90 | r'^(?:word|ppt|xl)/_rels/document\.xml\.rels$', |
| 91 | r'^(?:word|ppt|xl)/_rels/footer[0-9]*\.xml\.rels$', | 91 | r'^(?:word|ppt|xl)/_rels/footer[0-9]*\.xml\.rels$', |
| 92 | r'^(?:word|ppt|xl)/_rels/header[0-9]*\.xml\.rels$', | 92 | r'^(?:word|ppt|xl)/_rels/header[0-9]*\.xml\.rels$', |
| 93 | r'^(?:word|ppt|xl)/styles.xml$', | 93 | r'^(?:word|ppt|xl)/styles\.xml$', |
| 94 | # TODO: randomize axId ( https://docs.microsoft.com/en-us/openspecs/office_standards/ms-oi29500/089f849f-fcd6-4fa0-a281-35aa6a432a16 ) | ||
| 95 | r'^(?:word|ppt|xl)/charts/chart[0-9]*\.xml$', | ||
| 94 | r'^xl//workbook.xml$', | 96 | r'^xl//workbook.xml$', |
| 95 | r'^xl//worksheets/sheet[0-9]+.xml$', | 97 | r'^xl//worksheets/sheet[0-9]+.xml$', |
| 96 | r'^ppt/slideLayouts/_rels/slideLayout[0-9]+\.xml\.rels$', | 98 | r'^ppt/slideLayouts/_rels/slideLayout[0-9]+\.xml\.rels$', |
