Ignore:
Timestamp:
2005-07-06T15:27:45+12:00 (19 years ago)
Author:
kjdon
Message:

Jeffrey's new parsing modifications, committed approx 6 July, 15.16

File:
1 edited

Legend:

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

    r9465 r10218  
    4848
    4949sub new {
    50     my $class = shift (@_);
    51    
    52     my $self = new ConvertToPlug ($class, @_);
    53     $self->{'plugin_type'} = "WordPlug";
    54     # 14-05-02 To allow for proper inheritance of arguments - John Thompson
    55     my $option_list = $self->{'option_list'};
    56     push( @{$option_list}, $options );
     50    my ($class) = shift (@_);
     51    my ($pluginlist,$inputargs,$hashArgOptLists) = @_;
     52    push(@$pluginlist, $class);
    5753
    58     # wvWare will always produce html files encoded as utf-8
     54    if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});}
     55    if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)};
     56
     57    my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs);
     58
     59     # wvWare will always produce html files encoded as utf-8
    5960    if ($self->{'input_encoding'} eq "auto") {
    6061    $self->{'input_encoding'} = "utf8";
Note: See TracChangeset for help on using the changeset viewer.