Changeset 10537


Ignore:
Timestamp:
2005-08-19T12:06:31+12:00 (19 years ago)
Author:
chi
Message:

Set up the auto conversion type of PSPlug to text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ConvertToPlug.pm

    r10504 r10537  
    157157        $strConvertTo = "structuredhtml";
    158158    }
    159     }
    160     elsif ($classPluginName eq "PPTPlug") {
     159    } elsif ($classPluginName eq "PPTPlug") {
    161160    if ($blnWindowsScripting eq "true" && $ENV{'GSDLOS'} =~ /^windows$/i && $strConvertTo eq "auto") {
    162161        # we use paged img
    163162        $strConvertTo = "pagedimg_jpg";
    164163    }
     164    } elsif ($classPluginName eq "PSPlug") {
     165    if ($strConvertTo eq "auto") {
     166        # we use text
     167        $strConvertTo = "text";
     168    }
    165169    }
    166170   
     
    352356    my $conv_filename = "";
    353357    $conv_filename = $self->tmp_area_convert_file($output_ext, $filename);
    354 
     358   
    355359    if ("$conv_filename" eq "") {return 0;} # allows continue on errors
    356360    if (! -e "$conv_filename") {return 0;} # allows continue on errors
Note: See TracChangeset for help on using the changeset viewer.