Changeset 18406 for gsdl/trunk/perllib/plugins/PostScriptPlugin.pm
- Timestamp:
- 2009-01-19T18:08:49+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/PostScriptPlugin.pm
r17744 r18406 112 112 } 113 113 114 if (!defined $secondary_plugin_options->{'HTMLPlugin'}) { 115 $secondary_plugin_options->{'HTMLPlugin'} = []; 116 } 117 114 118 my $text_options = $secondary_plugin_options->{'TextPlugin'}; 115 116 if (defined $self->{'convert_to'} && $self->{'convert_to'} =~ /pagedimg.*/i) { 119 my $html_options = $secondary_plugin_options->{'HTMLPlugin'}; 120 121 if (defined $self->{'convert_to'} && $self->{'convert_to'} =~ m/(pagedimage|pagedimg).*/i) { 117 122 if (!defined $secondary_plugin_options->{'PagedImagePlugin'}){ 118 123 $secondary_plugin_options->{'PagedImagePlugin'} = []; 119 124 my $pagedimg_options = $secondary_plugin_options->{'PagedImagePlugin'}; 120 125 push(@$pagedimg_options, "-title_sub", '^(Page\s+\d+)?(\s*1\s+)?'); 126 push(@$pagedimg_options, "-file_rename_method", "none"); 121 127 } 122 128 } … … 130 136 push(@$text_options , "-title_sub", '^(Page\s+\d+)?(\s*1\s+)?'); 131 137 138 push(@$text_options, "-file_rename_method", "none"); 139 push(@$html_options, "-file_rename_method", "none"); 140 132 141 $self = bless $self, $class; 133 142 # used for convert_post_process
Note:
See TracChangeset
for help on using the changeset viewer.