Skip to content

Commit 634f5a2

Browse files
author
Marvin Kuhn
committed
added some extensions
1 parent ad9c03c commit 634f5a2

File tree

4 files changed

+34
-32
lines changed

4 files changed

+34
-32
lines changed

src/Programs/CalcProgram.php

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44

55
class CalcProgram extends Program
66
{
7-
protected static $handableExtensions = [
8-
'xls', 'ods', 'numbers', 'dif', 'gnm',
9-
'gnumeric', 'wk1', 'wks', '123', 'wk3',
10-
'wk4', 'xlw', 'xlt', 'pxl', 'wb2', 'wq1',
11-
'wq2', 'sdc', 'vor', 'slk'
12-
];
7+
protected static $handableExtensions = [
8+
'xls', 'ods', 'numbers', 'dif', 'gnm',
9+
'gnumeric', 'wk1', 'wks', '123', 'wk3',
10+
'wk4', 'xlw', 'xlt', 'pxl', 'wb2', 'wq1',
11+
'wq2', 'sdc', 'vor', 'slk', 'xlts', 'xlsm',
12+
'xlsx'
13+
];
1314

14-
protected static $possibleConversions = [
15-
'jpg', 'jpeg', 'png', 'pdf', 'html'
16-
];
15+
protected static $possibleConversions = [
16+
'jpg', 'jpeg', 'png', 'pdf', 'html'
17+
];
1718
}

src/Programs/DrawProgram.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
class DrawProgram extends Program
66
{
7-
protected static $handableExtensions = [
8-
'svg', 'odg'
9-
];
7+
protected static $handableExtensions = [
8+
'svg', 'odg'
9+
];
1010

11-
protected static $possibleConversions = [
12-
'jpg', 'jpeg', 'png', 'pdf', 'txt', 'html'
13-
];
11+
protected static $possibleConversions = [
12+
'jpg', 'jpeg', 'png', 'pdf', 'txt', 'html'
13+
];
1414
}

src/Programs/ImpressProgram.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
class ImpressProgram extends Program
66
{
7-
protected static $handableExtensions = [
8-
'ppt', 'pptx', 'odp', 'kth', 'key',
9-
'pps', 'pot', 'pcd', 'sda', 'sdd',
10-
'sdp', 'vor'
11-
];
7+
protected static $handableExtensions = [
8+
'ppt', 'pptx', 'odp', 'kth', 'key',
9+
'pps', 'pot', 'pcd', 'sda', 'sdd',
10+
'sdp', 'vor', 'pot', 'potx', 'ppsx',
11+
'ppsm'
12+
];
1213

13-
protected static $possibleConversions = [
14-
'jpg', 'jpeg', 'png', 'pdf', 'txt', 'html'
15-
];
14+
protected static $possibleConversions = [
15+
'jpg', 'jpeg', 'png', 'pdf', 'txt', 'html'
16+
];
1617
}

src/Programs/WriterProgram.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
class WriterProgram extends Program
66
{
7-
protected static $handableExtensions = [
8-
'doc', 'docx', 'odt', 'pdf', 'dot', 'wri',
9-
'602', 'txt', 'sdw', 'sgl', 'vor', 'wpd',
10-
'wps', 'html', 'htm', 'jdt', 'jtt', 'hwp',
11-
'pdb', 'pages', 'cwk', 'rtf'
12-
];
7+
protected static $handableExtensions = [
8+
'doc', 'docx', 'odt', 'pdf', 'dot', 'wri',
9+
'602', 'txt', 'sdw', 'sgl', 'vor', 'wpd',
10+
'wps', 'html', 'htm', 'jdt', 'jtt', 'hwp',
11+
'pdb', 'pages', 'cwk', 'rtf'
12+
];
1313

14-
protected static $possibleConversions = [
15-
'jpg', 'jpeg', 'png', 'pdf', 'txt', 'html'
16-
];
14+
protected static $possibleConversions = [
15+
'jpg', 'jpeg', 'png', 'pdf', 'txt', 'html'
16+
];
1717
}

0 commit comments

Comments
 (0)