Changeset 10356
- Timestamp:
- 2005-07-29T14:35:54+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/StructuredHTMLPlug.pm
r10271 r10356 78 78 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 79 79 80 #my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs);81 80 my $self = (defined $hashArgOptLists)? new HTMLPlug($pluginlist,$inputargs,$hashArgOptLists): new HTMLPlug($pluginlist,$inputargs); 82 81 83 print STDERR "*** StrucHTML = $self->{'assoc_files'}\n";84 85 82 return bless $self, $class; 86 83 87 84 } 88 89 #sub new90 #{91 # my $class = shift (@_);92 # my $self = new HTMLPlug ($class, @_);93 # $self->{'plugin_type'} = "StructuredHTMLPlug";94 #95 # # 14-05-02 To allow for proper inheritance of arguments - John Thompson96 # my $option_list = $self->{'option_list'};97 # push( @{$option_list}, $options );98 99 # if (!parsargv::parse(\@_,100 # q^check_toc^,\$self->{'check_toc'},101 # q^title_header/.*/^,\$self->{'title_header'},102 # q^toc_header/.*/^,\$self->{'toc_header'},103 # q^tof_header/.*/^,\$self->{'tof_header'},104 # q^level1_header/.*/^,\$self->{'level1_header'},105 # q^level2_header/.*/^,\$self->{'level2_header'},106 # q^level3_header/.*/^,\$self->{'level3_header'},107 # "allow_extra_options")) {108 #109 # #my $self = new HTMLPlug($class, @_);110 # print STDERR "\nIncorrect options passed to $plugin_name, ";111 # print STDERR "check your collect.cfg configuration file\n";112 # $self->print_txt_usage(""); # Use default resource bundle113 # die "\n";114 # }115 # return bless $self, $class;116 #}117 118 85 119 86 sub read { … … 366 333 = &ImagePlug::identify($img_filename, $outhandle, $verbosity); 367 334 368 print STDERR "**** $actual_width x $actual_height";369 print STDERR " (requested: $img_width x $img_height)\n";335 #print STDERR "**** $actual_width x $actual_height"; 336 #print STDERR " (requested: $img_width x $img_height)\n"; 370 337 371 338 if (($img_width < $actual_width) || ($img_height < $actual_height)) { … … 379 346 = &util::filename_cat($dirname, $tailname."_resized".$suffix); 380 347 381 print STDERR "**** suffix = $suffix\n";348 #print STDERR "**** suffix = $suffix\n"; 382 349 383 350 # Generate smaller image with convert
Note:
See TracChangeset
for help on using the changeset viewer.