Changeset 11833
- Timestamp:
- 2006-05-18T12:00:19+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ConvertToPlug.pm
r11680 r11833 153 153 } 154 154 my $windows_scripting = $self->{'windows_scripting'}; 155 $windows_scripting = 0 unless defined $windows_scripting; 155 156 if ($classPluginName eq "PDFPlug") { 156 157 if ($convert_to_type eq "text" && … … 160 161 } 161 162 } elsif ($classPluginName eq "WordPlug") { 162 if ( defined $self->{'windows_scripting'}&& $ENV{'GSDLOS'} =~ /^windows$/i && $convert_to_type =~ /^(html|auto)$/) {163 if ($windows_scripting && $ENV{'GSDLOS'} =~ /^windows$/i && $convert_to_type =~ /^(html|auto)$/) { 163 164 # we use structured HTML, not normal html 164 165 $convert_to_type = "structuredhtml"; 165 166 } 166 167 } elsif ($classPluginName eq "PPTPlug") { 167 if ( defined $self->{'windows_scripting'}&& $ENV{'GSDLOS'} =~ /^windows$/i && $convert_to_type eq "auto") {168 if ($windows_scripting && $ENV{'GSDLOS'} =~ /^windows$/i && $convert_to_type eq "auto") { 168 169 # we use paged img 169 170 $convert_to_type = "pagedimg_jpg";
Note:
See TracChangeset
for help on using the changeset viewer.