Changeset 12704


Ignore:
Timestamp:
2006-09-07T13:50:25+12:00 (18 years ago)
Author:
davidb
Message:

convert RTF upgraded so it can also use windows scripting option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/gsConvert.pl

    r10534 r12704  
    114114    print_usage();
    115115    }
    116    
    117  
     116     
    118117    # Make sure the input file exists and can be opened for reading
    119118    if (scalar(@ARGV!=1)) {
     
    241240    # Attempt specialised conversion to HTML
    242241    if (!$output_type || ($output_type =~ /html/i)) {
    243     $success = &rtf_to_html($input_filename, $output_filestem);
     242
     243    if ($windows_scripting) {
     244        $success = &native_doc_to_html($input_filename, $output_filestem);
     245    }
     246    else {
     247        $success = &rtf_to_html($input_filename, $output_filestem);
     248    }
    244249    if ($success) {
    245250        return "html";
Note: See TracChangeset for help on using the changeset viewer.