There was an error while loading. Please reload this page.
1 parent a8305cd commit 4e3c77cCopy full SHA for 4e3c77c
1 file changed
src/filingcabinet/pdf_utils.py
@@ -39,13 +39,46 @@
39
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
40
"text/rtf",
41
"application/rtf",
42
+ "application/vnd.ms-powerpoint",
43
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation",
44
)
45
OFFICE_EXTENSIONS = (
46
+ ".rtf",
47
+ # Word
48
".doc",
49
+ ".dot",
50
+ ".wbk",
51
".docx",
52
".docm",
53
+ ".dotx",
54
+ ".dotm",
55
+ ".docb",
56
".odt",
- ".rtf",
57
+ # Powerpoint
58
+ ".pptx",
59
+ ".pptm",
60
+ ".ppt",
61
+ ".potx",
62
+ ".potm",
63
+ ".pot",
64
+ ".ppsx",
65
+ ".ppsm",
66
+ ".pps",
67
+ # Excel
68
+ ".xlsx",
69
+ ".xlsm",
70
+ ".xlsb",
71
+ ".xltx",
72
+ ".xltm",
73
+ ".xls",
74
+ ".xlt",
75
76
+ ".xml",
77
78
+ ".xlam",
79
+ ".xla",
80
+ ".xlw",
81
+ ".xlr",
82
83
84
0 commit comments