Changeset 18145 for gsdl/trunk
- Timestamp:
- 2008-12-08T16:35:49+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/PDFPlugin.pm
r15963 r18145 142 142 $secondary_plugin_options->{'TextPlugin'} = []; 143 143 } 144 if (defined $self->{'convert_to'} && $self->{'convert_to'} =~ /pagedimg.*/i) {144 if (defined $self->{'convert_to'} && $self->{'convert_to'} =~ m/(pagedimage|pagedimg).*/i) { 145 145 if (!defined $secondary_plugin_options->{'PagedImagePlugin'}){ 146 146 $secondary_plugin_options->{'PagedImagePlugin'} = []; 147 147 my $pagedimg_options = $secondary_plugin_options->{'PagedImagePlugin'}; 148 148 push(@$pagedimg_options, "-title_sub", '^(Page\s+\d+)?(\s*1\s+)?'); 149 push(@$pagedimg_options, "-screenviewsize", "1000"); 149 150 } 150 151 } … … 152 153 my $text_options = $secondary_plugin_options->{'TextPlugin'}; 153 154 my $pagedimg_options = $secondary_plugin_options->{'PagedImagePlugin'}; 154 155 155 156 # if ($self->{'input_encoding'} eq "auto") { 156 157 # $self->{'input_encoding'} = "utf8";
Note:
See TracChangeset
for help on using the changeset viewer.