Changeset 10218 for trunk/gsdl/perllib/plugins/WordPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/WordPlug.pm
r9465 r10218 48 48 49 49 sub 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); 57 53 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 59 60 if ($self->{'input_encoding'} eq "auto") { 60 61 $self->{'input_encoding'} = "utf8";
Note:
See TracChangeset
for help on using the changeset viewer.