line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package File::Groups; |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# ******************** |
4
|
|
|
|
|
|
|
# AUTOGENERATED FILE DO NOT MODIFY |
5
|
|
|
|
|
|
|
# ******************** |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.1001'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
8
|
|
|
8
|
0
|
311
|
sub graphics_editor { return File::Groups_graphics_editor } |
13
|
|
|
|
|
|
|
|
14
|
8
|
|
|
8
|
0
|
305
|
sub video { return File::Groups_video } |
15
|
|
|
|
|
|
|
|
16
|
0
|
|
|
0
|
0
|
0
|
sub audio { return File::Groups_audio } |
17
|
|
|
|
|
|
|
|
18
|
16
|
|
|
16
|
0
|
323
|
sub image { return File::Groups_image } |
19
|
|
|
|
|
|
|
|
20
|
12
|
|
|
12
|
0
|
630
|
sub spreadsheet { return File::Groups_spreadsheet } |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
0
|
0
|
sub document { return File::Groups_document } |
23
|
|
|
|
|
|
|
|
24
|
4
|
|
|
4
|
0
|
304
|
sub project_management { return File::Groups_project_management } |
25
|
|
|
|
|
|
|
|
26
|
4
|
|
|
4
|
0
|
302
|
sub presentation { return File::Groups_presentation } |
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
0
|
0
|
0
|
sub diagramming { return File::Groups_diagramming } |
29
|
|
|
|
|
|
|
|
30
|
8
|
|
|
8
|
0
|
124
|
sub word_processing { return File::Groups_word_processing } |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
package File::Groups_graphics_editor; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub extensions { |
37
|
4
|
100
|
|
4
|
|
28
|
return $_[1] ? ["ai", "psd", "cdr", "eps", "epsf", "xcf", "ps", "sketch"] : ["ai", "psd", "cdr", "eps", "xcf", "ps", "sketch"] |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub media_types { |
41
|
4
|
100
|
|
4
|
|
23
|
return $_[1] ? ["application/postscript", "image/vnd.adobe.photoshop", "image/x-xcf"] : ["application/postscript", "image/vnd.adobe.photoshop", "image/x-xcf"] |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
0
|
|
|
0
|
|
0
|
sub vector { return File::Groups_graphics_editor_vector } |
46
|
|
|
|
|
|
|
|
47
|
0
|
|
|
0
|
|
0
|
sub raster { return File::Groups_graphics_editor_raster } |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
package File::Groups_video; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
sub extensions { |
53
|
4
|
100
|
|
4
|
|
30
|
return $_[1] ? ["asf", "mov", "qt", "movie", "avi", "mpv2", "mp4", "mpe", "mpeg", "mpg", "webm"] : ["asf", "mov", "qt", "movie", "avi", "mp4", "mpeg", "mpg", "webm"] |
54
|
|
|
|
|
|
|
} |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
sub media_types { |
57
|
4
|
100
|
|
4
|
|
30
|
return $_[1] ? ["video/x-ms-asf", "video/quicktime", "video/x-sgi-movie", "video/x-msvideo", "video/mpeg", "video/mp4", "video/webm"] : ["video/x-ms-asf", "video/quicktime", "video/x-sgi-movie", "video/x-msvideo", "video/mp4", "video/mpeg", "video/webm"] |
58
|
|
|
|
|
|
|
} |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
package File::Groups_audio; |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
sub extensions { |
65
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["au", "aif", "aiff", "aifc", "mp3", "rmi", "mid", "ra", "ram", "snd", "wav", "weba"] : ["au", "aif", "aiff", "aifc", "mp3", "rmi", "mid", "wav", "weba"] |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
sub media_types { |
69
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["audio/basic", "audio/x-aiff", "audio/mpeg", "audio/mp3", "audio/mid", "audio/midi", "audio/x-pn-realaudio", "audio/x-realaudio", "audio/x-wav", "audio/wav", "audio/wave", "audio/webm"] : ["audio/basic", "audio/x-aiff", "audio/mpeg", "audio/mp3", "audio/mid", "audio/midi", "audio/x-wav", "audio/wav", "audio/wave", "audio/webm"] |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
package File::Groups_image; |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
sub extensions { |
77
|
4
|
100
|
|
4
|
|
34
|
return $_[1] ? ["bmp", "dib", "gif", "ico", "jfif", "jpe", "jpeg", "jpg", "pbm", "pgm", "png", "ppm", "rgb", "svg", "tif", "tiff", "webp", "xbm", "xpm"] : ["bmp", "gif", "ico", "jpeg", "jpg", "png", "svg", "tif", "tiff", "webp"] |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
sub media_types { |
81
|
4
|
100
|
|
4
|
|
28
|
return $_[1] ? ["image/bmp", "image/x-ms-bmp", "image/gif", "image/x-icon", "image/vnd.microsoft.icon", "image/pipeg", "image/jpeg", "image/x-portable-bitmap", "image/x-portable-graymap", "image/png", "image/x-portable-pixmap", "image/x-rgb", "image/svg+xml", "image/tiff", "image/webp", "image/x-xbitmap", "image/x-xpixmap"] : ["image/bmp", "image/x-ms-bmp", "image/gif", "image/x-icon", "image/vnd.microsoft.icon", "image/jpeg", "image/png", "image/svg+xml", "image/tiff", "image/webp"] |
82
|
|
|
|
|
|
|
} |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
8
|
|
|
8
|
|
44
|
sub raster { return File::Groups_image_raster } |
86
|
|
|
|
|
|
|
|
87
|
0
|
|
|
0
|
|
0
|
sub web { return File::Groups_image_web } |
88
|
|
|
|
|
|
|
|
89
|
0
|
|
|
0
|
|
0
|
sub vector { return File::Groups_image_vector } |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
package File::Groups_spreadsheet; |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
sub extensions { |
95
|
4
|
100
|
|
4
|
|
26
|
return $_[1] ? ["csv", "xls", "xlsx", "xlt", "xltx", "xlw", "xla", "xlsm", "xlsb", "xltm", "xlam", "numbers", "ods", "ots", "tsv", "tab"] : ["csv", "xls", "xlsx", "xlt", "xltx", "xlw", "numbers", "ods", "ots", "tsv"] |
96
|
|
|
|
|
|
|
} |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
sub media_types { |
99
|
4
|
100
|
|
4
|
|
28
|
return $_[1] ? ["text/csv", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template", "application/vnd.ms-excel.sheet.macroenabled.12", "application/vnd.ms-excel.sheet.binary.macroenabled.12", "application/vnd.ms-excel.template.macroenabled.12", "application/vnd.ms-excel.addin.macroenabled.12", "application/vnd.apple.numbers", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template", "text/tab-separated-values"] : ["text/csv", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template", "application/vnd.apple.numbers", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template", "text/tab-separated-values"] |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
103
|
4
|
|
|
4
|
|
16
|
sub excel { return File::Groups_spreadsheet_excel } |
104
|
|
|
|
|
|
|
|
105
|
0
|
|
|
0
|
|
0
|
sub numbers { return File::Groups_spreadsheet_numbers } |
106
|
|
|
|
|
|
|
|
107
|
0
|
|
|
0
|
|
0
|
sub calc { return File::Groups_spreadsheet_calc } |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
package File::Groups_document; |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
sub extensions { |
113
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["csv", "key", "key-tef", "kth", "apxl", "xls", "xlsx", "xlt", "xltx", "xlw", "xla", "xlsm", "xlsb", "xltm", "xlam", "ppt", "pptx", "pps", "ppsx", "ppa", "ppam", "pptm", "ppsm", "potm", "doc", "docx", "dot", "dotx", "dotm", "docm", "word", "w6w", "numbers", "ods", "ots", "odp", "odt", "ott", "oth", "odm", "page", "pdf", "rtf", "tsv", "tab", "txt", "text"] : ["csv", "key", "key-tef", "xls", "xlsx", "xlt", "xltx", "xlw", "ppt", "pptx", "pps", "ppsx", "doc", "docx", "dot", "dotx", "numbers", "ods", "ots", "odp", "odt", "ott", "page", "pdf", "rtf", "tsv", "txt", "text"] |
114
|
|
|
|
|
|
|
} |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
sub media_types { |
117
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["text/csv", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template", "application/vnd.ms-excel.sheet.macroenabled.12", "application/vnd.ms-excel.sheet.binary.macroenabled.12", "application/vnd.ms-excel.template.macroenabled.12", "application/vnd.ms-excel.addin.macroenabled.12", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.ms-powerpoint.addin.macroenabled.12", "application/vnd.ms-powerpoint.presentation.macroenabled.12", "application/vnd.ms-powerpoint.slideshow.macroenabled.12", "application/vnd.ms-powerpoint.template.macroenabled.12", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.ms-word.template.macroenabled.12", "application/vnd.ms-word.document.macroenabled.12", "application/vnd.apple.numbers", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template", "application/vnd.oasis.opendocument.presentation", "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.text-web", "application/vnd.oasis.opendocument.text-master", "application/pdf", "application/rtf", "text/rtf", "text/tab-separated-values", "text/plain"] : ["text/csv", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.apple.numbers", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template", "application/vnd.oasis.opendocument.presentation", "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/pdf", "application/rtf", "text/rtf", "text/tab-separated-values", "text/plain"] |
118
|
|
|
|
|
|
|
} |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
|
121
|
0
|
|
|
0
|
|
0
|
sub keynote { return File::Groups_document_keynote } |
122
|
|
|
|
|
|
|
|
123
|
0
|
|
|
0
|
|
0
|
sub excel { return File::Groups_document_excel } |
124
|
|
|
|
|
|
|
|
125
|
0
|
|
|
0
|
|
0
|
sub powerpoint { return File::Groups_document_powerpoint } |
126
|
|
|
|
|
|
|
|
127
|
0
|
|
|
0
|
|
0
|
sub word { return File::Groups_document_word } |
128
|
|
|
|
|
|
|
|
129
|
0
|
|
|
0
|
|
0
|
sub numbers { return File::Groups_document_numbers } |
130
|
|
|
|
|
|
|
|
131
|
0
|
|
|
0
|
|
0
|
sub calc { return File::Groups_document_calc } |
132
|
|
|
|
|
|
|
|
133
|
0
|
|
|
0
|
|
0
|
sub impress { return File::Groups_document_impress } |
134
|
|
|
|
|
|
|
|
135
|
0
|
|
|
0
|
|
0
|
sub writer { return File::Groups_document_writer } |
136
|
|
|
|
|
|
|
|
137
|
0
|
|
|
0
|
|
0
|
sub pages { return File::Groups_document_pages } |
138
|
|
|
|
|
|
|
|
139
|
0
|
|
|
0
|
|
0
|
sub pdf { return File::Groups_document_pdf } |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
package File::Groups_project_management; |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
sub extensions { |
145
|
2
|
50
|
|
2
|
|
13
|
return $_[1] ? ["gan", "mpp", "mpt"] : ["gan", "mpp", "mpt"] |
146
|
|
|
|
|
|
|
} |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
sub media_types { |
149
|
2
|
50
|
|
2
|
|
16
|
return $_[1] ? ["application/vnd.ms-project"] : ["application/vnd.ms-project"] |
150
|
|
|
|
|
|
|
} |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
package File::Groups_presentation; |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
sub extensions { |
157
|
2
|
50
|
|
2
|
|
13
|
return $_[1] ? ["key", "key-tef", "kth", "apxl", "ppt", "pptx", "pps", "ppsx", "ppa", "ppam", "pptm", "ppsm", "potm", "odp"] : ["key", "key-tef", "ppt", "pptx", "pps", "ppsx", "odp"] |
158
|
|
|
|
|
|
|
} |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
sub media_types { |
161
|
2
|
50
|
|
2
|
|
11
|
return $_[1] ? ["application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.ms-powerpoint.addin.macroenabled.12", "application/vnd.ms-powerpoint.presentation.macroenabled.12", "application/vnd.ms-powerpoint.slideshow.macroenabled.12", "application/vnd.ms-powerpoint.template.macroenabled.12", "application/vnd.oasis.opendocument.presentation"] : ["application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.oasis.opendocument.presentation"] |
162
|
|
|
|
|
|
|
} |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
|
165
|
0
|
|
|
0
|
|
0
|
sub keynote { return File::Groups_presentation_keynote } |
166
|
|
|
|
|
|
|
|
167
|
0
|
|
|
0
|
|
0
|
sub powerpoint { return File::Groups_presentation_powerpoint } |
168
|
|
|
|
|
|
|
|
169
|
0
|
|
|
0
|
|
0
|
sub impress { return File::Groups_presentation_impress } |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
package File::Groups_diagramming; |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
sub extensions { |
175
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["vsd", "vst", "vsw", "vss"] : ["vsd", "vst"] |
176
|
|
|
|
|
|
|
} |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
sub media_types { |
179
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["application/vnd.visio"] : ["application/vnd.visio"] |
180
|
|
|
|
|
|
|
} |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
183
|
0
|
|
|
0
|
|
0
|
sub visio { return File::Groups_diagramming_visio } |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
package File::Groups_word_processing; |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
sub extensions { |
189
|
4
|
100
|
|
4
|
|
32
|
return $_[1] ? ["doc", "docx", "dot", "dotx", "dotm", "docm", "word", "w6w", "odt", "ott", "oth", "odm", "page", "rtf", "txt", "text", "wpd"] : ["doc", "docx", "dot", "dotx", "odt", "ott", "page", "rtf", "txt", "text", "wpd"] |
190
|
|
|
|
|
|
|
} |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
sub media_types { |
193
|
4
|
100
|
|
4
|
|
26
|
return $_[1] ? ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.ms-word.template.macroenabled.12", "application/vnd.ms-word.document.macroenabled.12", "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.text-web", "application/vnd.oasis.opendocument.text-master", "application/rtf", "text/rtf", "text/plain", "application/vnd.wordperfect"] : ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/rtf", "text/rtf", "text/plain", "application/vnd.wordperfect"] |
194
|
|
|
|
|
|
|
} |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
|
197
|
0
|
|
|
0
|
|
0
|
sub word { return File::Groups_word_processing_word } |
198
|
|
|
|
|
|
|
|
199
|
0
|
|
|
0
|
|
0
|
sub writer { return File::Groups_word_processing_writer } |
200
|
|
|
|
|
|
|
|
201
|
0
|
|
|
0
|
|
0
|
sub pages { return File::Groups_word_processing_pages } |
202
|
|
|
|
|
|
|
|
203
|
0
|
|
|
0
|
|
0
|
sub word_perfect { return File::Groups_word_processing_word_perfect } |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
package File::Groups_graphics_editor_vector; |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
sub extensions { |
212
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["ai", "cdr", "eps", "epsf", "ps", "sketch"] : ["ai", "cdr", "eps", "ps", "sketch"] |
213
|
|
|
|
|
|
|
} |
214
|
|
|
|
|
|
|
sub media_types { |
215
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["application/postscript"] : ["application/postscript"] |
216
|
|
|
|
|
|
|
} |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
package File::Groups_graphics_editor_raster; |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
sub extensions { |
221
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["psd", "xcf"] : ["psd", "xcf"] |
222
|
|
|
|
|
|
|
} |
223
|
|
|
|
|
|
|
sub media_types { |
224
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["image/vnd.adobe.photoshop", "image/x-xcf"] : ["image/vnd.adobe.photoshop", "image/x-xcf"] |
225
|
|
|
|
|
|
|
} |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
package File::Groups_image_raster; |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
sub extensions { |
233
|
4
|
100
|
|
4
|
|
40
|
return $_[1] ? ["bmp", "dib", "gif", "ico", "jpe", "jpeg", "jpg", "ppm", "tif", "tiff", "webp"] : ["bmp", "gif", "ico", "jpeg", "jpg", "tif", "tiff", "webp"] |
234
|
|
|
|
|
|
|
} |
235
|
|
|
|
|
|
|
sub media_types { |
236
|
4
|
100
|
|
4
|
|
33
|
return $_[1] ? ["image/bmp", "image/x-ms-bmp", "image/gif", "image/x-icon", "image/vnd.microsoft.icon", "image/jpeg", "image/x-portable-pixmap", "image/tiff", "image/webp"] : ["image/bmp", "image/x-ms-bmp", "image/gif", "image/x-icon", "image/vnd.microsoft.icon", "image/jpeg", "image/tiff", "image/webp"] |
237
|
|
|
|
|
|
|
} |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
package File::Groups_image_web; |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
sub extensions { |
242
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["gif", "jpe", "jpeg", "jpg", "png", "svg"] : ["gif", "jpeg", "jpg", "png", "svg"] |
243
|
|
|
|
|
|
|
} |
244
|
|
|
|
|
|
|
sub media_types { |
245
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["image/gif", "image/jpeg", "image/png", "image/svg+xml"] : ["image/gif", "image/jpeg", "image/png", "image/svg+xml"] |
246
|
|
|
|
|
|
|
} |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
package File::Groups_image_vector; |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
sub extensions { |
251
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["svg"] : ["svg"] |
252
|
|
|
|
|
|
|
} |
253
|
|
|
|
|
|
|
sub media_types { |
254
|
0
|
0
|
|
0
|
|
0
|
return $_[1] ? ["image/svg+xml"] : ["image/svg+xml"] |
255
|
|
|
|
|
|
|
} |
256
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
package File::Groups_spreadsheet_excel; |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
sub extensions { |
261
|
2
|
50
|
|
2
|
|
14
|
return $_[1] ? ["xls", "xlsx", "xlt", "xltx", "xlw", "xla", "xlsm", "xlsb", "xltm", "xlam"] : ["xls", "xlsx", "xlt", "xltx", "xlw"] |
262
|
|
|
|
|
|
|
} |
263
|
|
|
|
|
|
|
sub media_types { |
264
|
2
|
50
|
|
2
|
|
12
|
return $_[1] ? ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template", "application/vnd.ms-excel.sheet.macroenabled.12", "application/vnd.ms-excel.sheet.binary.macroenabled.12", "application/vnd.ms-excel.template.macroenabled.12", "application/vnd.ms-excel.addin.macroenabled.12"] : ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"] |
265
|
|
|
|
|
|
|
} |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
package File::Groups_spreadsheet_numbers; |
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
sub extensions { |
270
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["numbers"] : ["numbers"] |
271
|
|
|
|
|
|
|
} |
272
|
|
|
|
|
|
|
sub media_types { |
273
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.apple.numbers"] : ["application/vnd.apple.numbers"] |
274
|
|
|
|
|
|
|
} |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
package File::Groups_spreadsheet_calc; |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
sub extensions { |
279
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["ods", "ots"] : ["ods", "ots"] |
280
|
|
|
|
|
|
|
} |
281
|
|
|
|
|
|
|
sub media_types { |
282
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template"] : ["application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template"] |
283
|
|
|
|
|
|
|
} |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
package File::Groups_document_keynote; |
287
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
sub extensions { |
289
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["key", "key-tef", "kth", "apxl"] : ["key", "key-tef"] |
290
|
|
|
|
|
|
|
} |
291
|
|
|
|
|
|
|
sub media_types { |
292
|
0
|
0
|
|
0
|
|
|
return $_[1] ? [] : [] |
293
|
|
|
|
|
|
|
} |
294
|
|
|
|
|
|
|
|
295
|
|
|
|
|
|
|
package File::Groups_document_excel; |
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
sub extensions { |
298
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["xls", "xlsx", "xlt", "xltx", "xlw", "xla", "xlsm", "xlsb", "xltm", "xlam"] : ["xls", "xlsx", "xlt", "xltx", "xlw"] |
299
|
|
|
|
|
|
|
} |
300
|
|
|
|
|
|
|
sub media_types { |
301
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template", "application/vnd.ms-excel.sheet.macroenabled.12", "application/vnd.ms-excel.sheet.binary.macroenabled.12", "application/vnd.ms-excel.template.macroenabled.12", "application/vnd.ms-excel.addin.macroenabled.12"] : ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"] |
302
|
|
|
|
|
|
|
} |
303
|
|
|
|
|
|
|
|
304
|
|
|
|
|
|
|
package File::Groups_document_powerpoint; |
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
sub extensions { |
307
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["ppt", "pptx", "pps", "ppsx", "ppa", "ppam", "pptm", "ppsm", "potm"] : ["ppt", "pptx", "pps", "ppsx"] |
308
|
|
|
|
|
|
|
} |
309
|
|
|
|
|
|
|
sub media_types { |
310
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.ms-powerpoint.addin.macroenabled.12", "application/vnd.ms-powerpoint.presentation.macroenabled.12", "application/vnd.ms-powerpoint.slideshow.macroenabled.12", "application/vnd.ms-powerpoint.template.macroenabled.12"] : ["application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"] |
311
|
|
|
|
|
|
|
} |
312
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
package File::Groups_document_word; |
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
sub extensions { |
316
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["doc", "docx", "dot", "dotx", "dotm", "docm", "word", "w6w"] : ["doc", "docx", "dot", "dotx"] |
317
|
|
|
|
|
|
|
} |
318
|
|
|
|
|
|
|
sub media_types { |
319
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.ms-word.template.macroenabled.12", "application/vnd.ms-word.document.macroenabled.12"] : ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"] |
320
|
|
|
|
|
|
|
} |
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
package File::Groups_document_numbers; |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
sub extensions { |
325
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["numbers"] : ["numbers"] |
326
|
|
|
|
|
|
|
} |
327
|
|
|
|
|
|
|
sub media_types { |
328
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.apple.numbers"] : ["application/vnd.apple.numbers"] |
329
|
|
|
|
|
|
|
} |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
package File::Groups_document_calc; |
332
|
|
|
|
|
|
|
|
333
|
|
|
|
|
|
|
sub extensions { |
334
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["ods", "ots"] : ["ods", "ots"] |
335
|
|
|
|
|
|
|
} |
336
|
|
|
|
|
|
|
sub media_types { |
337
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template"] : ["application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.spreadsheet-template"] |
338
|
|
|
|
|
|
|
} |
339
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
package File::Groups_document_impress; |
341
|
|
|
|
|
|
|
|
342
|
|
|
|
|
|
|
sub extensions { |
343
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["odp"] : ["odp"] |
344
|
|
|
|
|
|
|
} |
345
|
|
|
|
|
|
|
sub media_types { |
346
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.oasis.opendocument.presentation"] : ["application/vnd.oasis.opendocument.presentation"] |
347
|
|
|
|
|
|
|
} |
348
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
package File::Groups_document_writer; |
350
|
|
|
|
|
|
|
|
351
|
|
|
|
|
|
|
sub extensions { |
352
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["odt", "ott", "oth", "odm"] : ["odt", "ott"] |
353
|
|
|
|
|
|
|
} |
354
|
|
|
|
|
|
|
sub media_types { |
355
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.text-web", "application/vnd.oasis.opendocument.text-master"] : ["application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template"] |
356
|
|
|
|
|
|
|
} |
357
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
package File::Groups_document_pages; |
359
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
sub extensions { |
361
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["page"] : ["page"] |
362
|
|
|
|
|
|
|
} |
363
|
|
|
|
|
|
|
sub media_types { |
364
|
0
|
0
|
|
0
|
|
|
return $_[1] ? [] : [] |
365
|
|
|
|
|
|
|
} |
366
|
|
|
|
|
|
|
|
367
|
|
|
|
|
|
|
package File::Groups_document_pdf; |
368
|
|
|
|
|
|
|
|
369
|
|
|
|
|
|
|
sub extensions { |
370
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["pdf"] : ["pdf"] |
371
|
|
|
|
|
|
|
} |
372
|
|
|
|
|
|
|
sub media_types { |
373
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/pdf"] : ["application/pdf"] |
374
|
|
|
|
|
|
|
} |
375
|
|
|
|
|
|
|
|
376
|
|
|
|
|
|
|
|
377
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
package File::Groups_presentation_keynote; |
379
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
sub extensions { |
381
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["key", "key-tef", "kth", "apxl"] : ["key", "key-tef"] |
382
|
|
|
|
|
|
|
} |
383
|
|
|
|
|
|
|
sub media_types { |
384
|
0
|
0
|
|
0
|
|
|
return $_[1] ? [] : [] |
385
|
|
|
|
|
|
|
} |
386
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
package File::Groups_presentation_powerpoint; |
388
|
|
|
|
|
|
|
|
389
|
|
|
|
|
|
|
sub extensions { |
390
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["ppt", "pptx", "pps", "ppsx", "ppa", "ppam", "pptm", "ppsm", "potm"] : ["ppt", "pptx", "pps", "ppsx"] |
391
|
|
|
|
|
|
|
} |
392
|
|
|
|
|
|
|
sub media_types { |
393
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.ms-powerpoint.addin.macroenabled.12", "application/vnd.ms-powerpoint.presentation.macroenabled.12", "application/vnd.ms-powerpoint.slideshow.macroenabled.12", "application/vnd.ms-powerpoint.template.macroenabled.12"] : ["application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"] |
394
|
|
|
|
|
|
|
} |
395
|
|
|
|
|
|
|
|
396
|
|
|
|
|
|
|
package File::Groups_presentation_impress; |
397
|
|
|
|
|
|
|
|
398
|
|
|
|
|
|
|
sub extensions { |
399
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["odp"] : ["odp"] |
400
|
|
|
|
|
|
|
} |
401
|
|
|
|
|
|
|
sub media_types { |
402
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.oasis.opendocument.presentation"] : ["application/vnd.oasis.opendocument.presentation"] |
403
|
|
|
|
|
|
|
} |
404
|
|
|
|
|
|
|
|
405
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
package File::Groups_diagramming_visio; |
407
|
|
|
|
|
|
|
|
408
|
|
|
|
|
|
|
sub extensions { |
409
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["vsd", "vst", "vsw", "vss"] : ["vsd", "vst"] |
410
|
|
|
|
|
|
|
} |
411
|
|
|
|
|
|
|
sub media_types { |
412
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.visio"] : ["application/vnd.visio"] |
413
|
|
|
|
|
|
|
} |
414
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
|
416
|
|
|
|
|
|
|
package File::Groups_word_processing_word; |
417
|
|
|
|
|
|
|
|
418
|
|
|
|
|
|
|
sub extensions { |
419
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["doc", "docx", "dot", "dotx", "dotm", "docm", "word", "w6w"] : ["doc", "docx", "dot", "dotx"] |
420
|
|
|
|
|
|
|
} |
421
|
|
|
|
|
|
|
sub media_types { |
422
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "application/vnd.ms-word.template.macroenabled.12", "application/vnd.ms-word.document.macroenabled.12"] : ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"] |
423
|
|
|
|
|
|
|
} |
424
|
|
|
|
|
|
|
|
425
|
|
|
|
|
|
|
package File::Groups_word_processing_writer; |
426
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
sub extensions { |
428
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["odt", "ott", "oth", "odm"] : ["odt", "ott"] |
429
|
|
|
|
|
|
|
} |
430
|
|
|
|
|
|
|
sub media_types { |
431
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template", "application/vnd.oasis.opendocument.text-web", "application/vnd.oasis.opendocument.text-master"] : ["application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template"] |
432
|
|
|
|
|
|
|
} |
433
|
|
|
|
|
|
|
|
434
|
|
|
|
|
|
|
package File::Groups_word_processing_pages; |
435
|
|
|
|
|
|
|
|
436
|
|
|
|
|
|
|
sub extensions { |
437
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["page"] : ["page"] |
438
|
|
|
|
|
|
|
} |
439
|
|
|
|
|
|
|
sub media_types { |
440
|
0
|
0
|
|
0
|
|
|
return $_[1] ? [] : [] |
441
|
|
|
|
|
|
|
} |
442
|
|
|
|
|
|
|
|
443
|
|
|
|
|
|
|
package File::Groups_word_processing_word_perfect; |
444
|
|
|
|
|
|
|
|
445
|
|
|
|
|
|
|
sub extensions { |
446
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["wpd"] : ["wpd"] |
447
|
|
|
|
|
|
|
} |
448
|
|
|
|
|
|
|
sub media_types { |
449
|
0
|
0
|
|
0
|
|
|
return $_[1] ? ["application/vnd.wordperfect"] : ["application/vnd.wordperfect"] |
450
|
|
|
|
|
|
|
} |
451
|
|
|
|
|
|
|
|
452
|
|
|
|
|
|
|
|
453
|
|
|
|
|
|
|
1; |
454
|
|
|
|
|
|
|
|
455
|
|
|
|
|
|
|
__END__ |