3 --- filter/excel.pl.orig Fri Dec 15 14:37:41 2000
15 my $xlconvpath = undef;
16 my $utfconvpath = undef;
17 +my $convname = undef;
20 return ('application/excel');
24 - $xlconvpath = util::checkcmd('xlHtml');
25 + $xlconvpath = util::checkcmd('xlhtml') || util::checkcmd('xlHtml');
26 # return 'no' unless defined $xlconvpath;
27 if (defined $xlconvpath) {
28 + $convname = basename($xlconvpath);
29 if (!util::islang("ja")) {
36 - if (util::checkcmd('xlHtml')) {
37 + if ($convname =~ /xlhtml/i) {
38 $err = filter_xl($orig_cfile, $cont, $weighted_str, $headings, $fields);
40 $err = filter_doccat($orig_cfile, $cont, $weighted_str, $headings, $fields);