Changeset 10218 for trunk/gsdl/perllib/plugins/ExcelPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ExcelPlug.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'} = "ExcelPlug"; 55 # I'm not sure what encoding xlhtml produces - I think it puts it 56 # into the Content-Type meta tag in the header of the HTML file. 55 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 56 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 57 57 58 # if ($self->{'input_encoding'} eq "auto") { 59 # $self->{'input_encoding'} = "utf8"; 60 # } 61 62 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 63 my $option_list = $self->{'option_list'}; 64 push( @{$option_list}, $options ); 58 my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs); 65 59 66 60 return bless $self, $class;
Note:
See TracChangeset
for help on using the changeset viewer.