Changeset 10464
- Timestamp:
- 2005-08-10T15:37:08+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/gsConvert.pl
r10451 r10464 260 260 261 261 my $success = 0; 262 262 263 263 # Attempt simple conversion to HTML 264 264 if (!$output_type || ($output_type =~ /html/i)) { … … 340 340 341 341 my $ppt_convert_type = ""; 342 if (!$output_type || $windows_scripting ||($output_type !~ /html/i)){ 342 #if (!$output_type || $windows_scripting ||($output_type !~ /html/i) ||($output_type !~ /text/i)){ 343 if ($windows_scripting && ($output_type !~ /html/i) && ($output_type !~ /text/i)){ 343 344 if ($output_type =~ /gif/i) { 344 345 $ppt_convert_type = "-g"; … … 368 369 } 369 370 } 370 } els e{371 } elsif (!$output_type || ($output_type =~ /html/i)) { 371 372 # Attempt conversion to HTML 372 373 #if (!$output_type || ($output_type =~ /html/i)) { … … 386 387 return "html"; 387 388 } 388 } 389 } 389 390 390 391 $success = &any_to_text($input_filename, $output_filestem); … … 392 393 return "text"; 393 394 } 394 395 395 396 return "fail"; 396 397 } … … 1168 1169 return 0; 1169 1170 } 1170 1171 1171 1172 open(IN, "<$input_filename") || return 0; 1172 1173 binmode(IN);
Note:
See TracChangeset
for help on using the changeset viewer.