Changeset 10218 for trunk/gsdl/perllib/plugins/PPTPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/PPTPlug.pm
r9465 r10218 49 49 50 50 sub new { 51 my $class = shift (@_); 51 my ($class) = shift (@_); 52 my ($pluginlist,$inputargs,$hashArgOptLists) = @_; 53 push(@$pluginlist, $class); 52 54 53 my $self = new ConvertToPlug ($class, @_); 54 $self->{'plugin_type'} = "PPTPlug"; 55 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 56 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 57 58 my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs); 59 55 60 # ppthtml outputs utf-8 already. 56 61 if ($self->{'input_encoding'} eq "auto") { 57 62 $self->{'input_encoding'} = "utf8"; 58 63 } 59 60 # 14-05-02 To allow for proper inheritance of arguments - John Thompson61 my $option_list = $self->{'option_list'};62 push( @{$option_list}, $options );63 64 64 65 return bless $self, $class;
Note:
See TracChangeset
for help on using the changeset viewer.