Changeset 10427


Ignore:
Timestamp:
2005-08-05T15:17:39+12:00 (19 years ago)
Author:
chi
Message:

Modification of the way passing argument and option list for the secondary plugin.

File:
1 edited

Legend:

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

    r10275 r10427  
    6666    if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)};
    6767
     68
     69    my @arg_array = @$inputargs;
    6870    my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs);
    6971 
     
    7476
    7577    if ($self->{'windows_scripting'} && ($self->{'convert_to'} eq "PagedImg")) {
    76         $secondary_plugin_options->{'PagedImgPlug'} = [];
     78    $secondary_plugin_options->{'PagedImgPlug'} = [];
    7779    } else {
    7880    $secondary_plugin_options->{'HTMLPlug'} = [];
     
    9193        # to extract these metadata fields from the HEAD META fields
    9294        push(@$html_options,"-metadata_fields","Title,GENERATOR,date,author<Creator>");
    93         #push(@$html_options , "-title_sub", '^(Page\s+\d+)?(\s*1\s+)?');
    9495    }
    9596    if (defined $secondary_plugin_options->{'PagedImgPlug'}){
     
    101102    $self = bless $self, $class;
    102103
    103     $self->load_secondary_plugins($class,$secondary_plugin_options);
     104    $self->load_secondary_plugins($class,$secondary_plugin_options,$hashArgOptLists);
    104105    return $self;
    105106}
Note: See TracChangeset for help on using the changeset viewer.