Ignore:
Timestamp:
2010-08-21T23:30:28+12:00 (14 years ago)
Author:
davidb
Message:

User of AutoloadConverterScripting expanded to encompass PowerPoint and Excel. No longer need OOConvertBinaryFile and PBConvertBinaryFile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/AutoloadConverterScripting.pm

    r22702 r22705  
    7373
    7474####
    75 # This plugin takes an extra initial parameter in its constructor (compared with
    76 #   the norm).  The extra parameter specifies which plugin it should try to
    77 #   dynamically load
     75# This plugin takes an extra initial parameter in its constructor (compared
     76#   with the norm).  The extra parameter specifies which plugin it should
     77#   try to dynamically load
    7878#####
    7979
     
    8787    my $autoVar  = $dynamic_self->{'_autoVar'};
    8888
    89 #    print STDERR "**** autoload NEW autoVar = $dynamic_self->{'_autoVar'}\n";
    90 #    print STDERR "**** working ", $dynamic_self->{'scripting_ext_working} , "\n";
     89    if ($dynamic_self->{'scripting_ext_installed'}) {
     90    my ($cpackage,$cfilename,$cline,$csubr,$chas_args,$cwantarray) = caller(0);
    9191
    92     if ($dynamic_self->{'scripting_ext_installed'}) {
    93     print STDERR "$class: $autoName Extension to Greenstone detected\n";
     92    print STDERR "$class: $autoName Extension to Greenstone detected for $cpackage\n";
    9493    if ($dynamic_self->{'scripting_ext_working'}) {
    9594        # print STDERR "... and it appears to be working\n";
Note: See TracChangeset for help on using the changeset viewer.