Changeset 20791 for gsdl/trunk/perllib/plugins/PagedImagePlugin.pm
- Timestamp:
- 2009-10-07T15:54:37+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/PagedImagePlugin.pm
r20778 r20791 175 175 'list' => $type_list, 176 176 'deft' => "paged", 177 'reqd' => "no" } ]; 177 'reqd' => "no" }, 178 {'name' => "processing_tmp_files", 179 'desc' => "{BasePlugin.processing_tmp_files}", 180 'type' => "flag", 181 'hiddengli' => "yes"} 182 ]; 178 183 179 184 … … 397 402 return 0 if ($filename_no_path eq "" || !-f $filename_full_path); 398 403 399 # remember that this image file was one of our source files 400 $doc_obj->associate_source_file($filename_full_path); 401 404 # remember that this image file was one of our source files, but only 405 # if we are not processing a tmp file 406 if (!$self->{'processing_tmp_files'} ) { 407 $doc_obj->associate_source_file($filename_full_path); 408 } 402 409 # do rotation 403 410 if ((defined $rotate) && ($rotate eq "r")) { … … 620 627 } 621 628 622 # remember that this text file was one of our source files 623 $doc_obj->associate_source_file($filename_full_path); 629 # remember that this text file was one of our source files, but only 630 # if we are not processing a tmp file 631 if (!$self->{'processing_tmp_files'} ) { 632 $doc_obj->associate_source_file($filename_full_path); 633 } 624 634 # Do encoding stuff 625 635 my ($language, $encoding) = $self->textcat_get_language_encoding ($filename_full_path);
Note:
See TracChangeset
for help on using the changeset viewer.