Changeset 22513 for main/trunk/greenstone2/bin
- Timestamp:
- 2010-07-27T16:06:11+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gsConvert.pl
r22429 r22513 401 401 402 402 my $ppt_convert_type = ""; 403 404 if ($openoffice_scripting) { 405 # Jump right in and process with Open Office 406 if (openoffice_doc_to_html($input_filename, $output_filestem)) { 407 return "html"; 408 } 409 else { 410 return "fail"; 411 } 412 } 413 403 414 #if (!$output_type || $windows_scripting || ($output_type !~ m/html/i) || ($output_type !~ m/text/i)){ 404 415 if ($windows_scripting && ($output_type !~ m/html/i) && ($output_type !~ m/text/i)){ … … 464 475 my $success = 0; 465 476 477 if ($openoffice_scripting) { 478 # Jump right in and process with Open Office 479 if (openoffice_doc_to_html($input_filename, $output_filestem)) { 480 return "html"; 481 } 482 else { 483 return "fail"; 484 } 485 } 486 466 487 # Attempt conversion to HTML 467 488 if (!$output_type || ($output_type =~ m/html/i)) { … … 1122 1143 close ERRLOG; 1123 1144 } 1145 print STDERR "***********output filestem $output_filestem.html\n"; 1124 1146 &util::rm("$output_filestem.html") if (-e "$output_filestem.html"); 1125 1147 if (-e "$output_filestem.err") {
Note:
See TracChangeset
for help on using the changeset viewer.