Changeset 4103 for trunk/gsdl/perllib
- Timestamp:
- 2003-04-08T12:25:08+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/PDFPlug.pm
r3833 r4103 45 45 'type' => "flag" }, 46 46 { 'name' => "complex", 47 'desc' => "Create more complex output. With this option set the output html will look much more like the original PDF file. For this to function properly you Ghostscript installed (for *nix gs should be on your path while for windows you must have gswin32c.exe on your path).", 47 'desc' => "Create more complex output. With this option set the output html will look much more like the original PDF file. For this to function properly you Ghostscript installed (for *nix gs should be on your path while for windows you must have gswin32c.exe on your path).", 48 'type' => "flag" }, 49 { 'name' => "nohidden", 50 'desc' => "Prevent pdftohtml from attempting to extract hidden text. This is only useful if the -complex option is also set.", 48 51 'type' => "flag" }, 49 52 { 'name' => "zoom", … … 60 63 my $class = shift (@_); 61 64 62 my ($noimages, $complex, $zoom, $use_sections );65 my ($noimages, $complex, $zoom, $use_sections, $nohidden); 63 66 64 67 if (!parsargv::parse(\@_, … … 66 69 q^complex^, \$complex, 67 70 q^zoom/\d+/2^, \$zoom, 71 q^nohidden^, \$nohidden, 68 72 q^use_sections/1?/^, \$use_sections, 69 73 "allow_extra_options")) { … … 97 101 $self->{'convert_options'} = "-pdf_zoom $zoom"; 98 102 $self->{'convert_options'} .= " -pdf_complex" if $complex; 103 $self->{'convert_options'} .= " -pdf_nohidden" if $nohidden; 99 104 $self->{'convert_options'} .= " -pdf_ignore_images" if $noimages; 100 105 … … 122 127 print STDERR " gs should be on your path while for windows\n"; 123 128 print STDERR " you must have gswin32c.exe on your path).\n"; 129 print STDERR " -nohidden Prevent pdftohtml from attempting to extract\n"; 130 print STDERR " hidden text. This is only useful if the -complex\n"; 131 print STDERR " option is also set."; 124 132 print STDERR " -zoom The factor by which to zoomthe PDF for output\n"; 125 133 print STDERR " (this is only useful if -complex is set).\n\n";
Note:
See TracChangeset
for help on using the changeset viewer.