Changeset 10580


Ignore:
Timestamp:
2005-08-29T11:43:00+12:00 (19 years ago)
Author:
kjdon
Message:

if created from pluginfo.pl (self->info_only == 1)then don't load up the secondary plugins

Location:
trunk/gsdl/perllib/plugins
Files:
6 edited

Legend:

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

    r10465 r10580  
    6060    my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs);
    6161
     62    if ($self->{'info_only'}) {
     63    # don't worry about any options etc
     64    return bless $self, $class;
     65    }
     66
    6267    my $secondary_plugin_options = $self->{'secondary_plugin_options'};
    6368    if (!defined $secondary_plugin_options->{'HTMLPlug'}) {
  • trunk/gsdl/perllib/plugins/PDFPlug.pm

    r10514 r10580  
    112112    my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs);
    113113   
     114    if ($self->{'info_only'}) {
     115    # don't worry about any options etc
     116    return bless $self, $class;
     117    }
     118
    114119    # these are passed through to gsConvert.pl by ConvertToPlug.pm
    115120    my $zoom = $self->{"zoom"};
  • trunk/gsdl/perllib/plugins/PPTPlug.pm

    r10491 r10580  
    9292    my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs);
    9393 
     94    if ($self->{'info_only'}) {
     95    # don't worry about any options etc
     96    return bless $self, $class;
     97    }
     98
    9499    # ppthtml outputs utf-8 already.
    95100    #these are passed through to gsConvert.pl by ConvertToPlug.pm
  • trunk/gsdl/perllib/plugins/PSPlug.pm

    r10536 r10580  
    9898    my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs);
    9999
     100    if ($self->{'info_only'}) {
     101    # don't worry about any options etc
     102    return bless $self, $class;
     103    }
     104
    100105    my $secondary_plugin_options = $self->{'secondary_plugin_options'};
    101106
  • trunk/gsdl/perllib/plugins/RTFPlug.pm

    r10514 r10580  
    6464    my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs);
    6565
     66    if ($self->{'info_only'}) {
     67    # don't worry about any options etc
     68    return bless $self, $class;
     69    }
     70
    6671    my $secondary_plugin_options = $self->{'secondary_plugin_options'};
    6772    if (!defined $secondary_plugin_options->{'TEXTPlug'}) {
  • trunk/gsdl/perllib/plugins/WordPlug.pm

    r10514 r10580  
    107107
    108108    my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs);
     109
     110    if ($self->{'info_only'}) {
     111    # don't worry about any options etc
     112    return bless $self, $class;
     113    }
    109114
    110115    #this is passed through to gsConvert.pl by ConvertToPlug.pm
Note: See TracChangeset for help on using the changeset viewer.