Ignore:
Timestamp:
2009-01-19T18:08:49+13:00 (15 years ago)
Author:
ak19
Message:

Modified srcreplaceable plugins (plugins which operate on docs where the source file can be replaced with their converted htmls) to set the file_rename_method to none for secondary plugins (for Text, HTML, and PagedImage plugins) so that the file is not renamed several times.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/PDFPlugin.pm

    r18145 r18406  
    186186    push(@$html_options, "-associate_tail_re", $associate_tail_re);
    187187    push(@$text_options, "-associate_tail_re", $associate_tail_re);
    188     push(@$pagedimg_options, "-associate_tail_re", $associate_tail_re);
    189     }
    190 
    191  
     188    push(@$pagedimg_options, "-associate_tail_re", $associate_tail_re) if defined $pagedimg_options;
     189    }
     190
     191    push(@$html_options, "-file_rename_method", "none");
     192    push(@$text_options, "-file_rename_method", "none");
     193    push(@$pagedimg_options, "-file_rename_method", "none") if defined $pagedimg_options;
     194
    192195    $self = bless $self, $class;
    193196    $self->load_secondary_plugins($class,$secondary_plugin_options,$hashArgOptLists);
Note: See TracChangeset for help on using the changeset viewer.