Changeset 10537
- Timestamp:
- 2005-08-19T12:06:31+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ConvertToPlug.pm
r10504 r10537 157 157 $strConvertTo = "structuredhtml"; 158 158 } 159 } 160 elsif ($classPluginName eq "PPTPlug") { 159 } elsif ($classPluginName eq "PPTPlug") { 161 160 if ($blnWindowsScripting eq "true" && $ENV{'GSDLOS'} =~ /^windows$/i && $strConvertTo eq "auto") { 162 161 # we use paged img 163 162 $strConvertTo = "pagedimg_jpg"; 164 163 } 164 } elsif ($classPluginName eq "PSPlug") { 165 if ($strConvertTo eq "auto") { 166 # we use text 167 $strConvertTo = "text"; 168 } 165 169 } 166 170 … … 352 356 my $conv_filename = ""; 353 357 $conv_filename = $self->tmp_area_convert_file($output_ext, $filename); 354 358 355 359 if ("$conv_filename" eq "") {return 0;} # allows continue on errors 356 360 if (! -e "$conv_filename") {return 0;} # allows continue on errors
Note:
See TracChangeset
for help on using the changeset viewer.