1
0
Fork 0

Improve a bit Microsoft word support

This commit is contained in:
jvoisin 2020-05-17 16:53:36 +02:00
parent c8dc020dc5
commit d8b68ef68e
1 changed files with 3 additions and 1 deletions

View File

@ -90,7 +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'^(?: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$',
r'^xl//workbook.xml$',
r'^xl//worksheets/sheet[0-9]+.xml$',
r'^ppt/slideLayouts/_rels/slideLayout[0-9]+\.xml\.rels$',