Changeset 22702 for main/trunk/greenstone2/perllib/plugins/PDFPlugin.pm
- Timestamp:
- 2010-08-21T00:33:16+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/PDFPlugin.pm
r22675 r22702 25 25 package PDFPlugin; 26 26 27 use PBConvertBinaryFile;28 27 use ReadTextFile; 29 28 use unicode; 30 29 use strict; 31 no strict 'refs'; # so we can use a var for filehandles (e gSTDERR)30 no strict 'refs'; # so we can use a var for filehandles (e.g. STDERR) 32 31 33 32 sub BEGIN { 34 @PDFPlugin::ISA = ('PBConvertBinaryFile', 'ReadTextFile'); 33 $::autoloadConverterScripting="PDFBoxConverter"; 34 require AutoloadConverterScripting; 35 36 @PDFPlugin::ISA = ('AutoloadConverterScripting', 'ReadTextFile'); 35 37 } 36 38 … … 119 121 push(@{$hashArgOptLists->{"OptList"}},$options); 120 122 121 my $self = new PBConvertBinaryFile($pluginlist, $inputargs, $hashArgOptLists);123 my $self = new AutoloadConverterScripting("PDFBoxConverter",$pluginlist, $inputargs, $hashArgOptLists); 122 124 123 125 if ($self->{'info_only'}) { … … 147 149 } 148 150 # set convert_to_plugin and convert_to_ext 149 $self-> PBConvertBinaryFile::set_standard_convert_settings();151 $self->set_standard_convert_settings(); 150 152 151 153 my $secondary_plugin_name = $self->{'convert_to_plugin'};
Note:
See TracChangeset
for help on using the changeset viewer.