Module: Pdf2Html
- Defined in:
- lib/pdf2html.rb,
lib/pdf2html/caller.rb,
lib/pdf2html/version.rb,
lib/pdf2html/option_provider.rb
Defined Under Namespace
Classes: Caller, OptionProvider
Constant Summary collapse
- VERSION =
'0.1.0'- PDF2HTMLEX_ARGS =
[":pdf", ":html"]
- PDF2HTMLEX_OPTIONS =
{ zoom: "--zoom", data_dir: "--data-dir", dest_dir: "--dest-dir", first_page: "--first-page", last_page: "--last-page", fit_width: "--fit-width", fit_height: "--fit-height", use_cropbox: "--use-cropbox", hdpi: "--hdpi", vdpi: "--vdpi", embed: "--embed", split_pages: "--split-pages", css_filename: "--css-filename", page_filename: "--page-filename", outline_filename: "--outline-filename", process_nontext: "--process-nontext", process_outline: "--process-outline", printing: "--printing", fallback: "--fallback", embed_external_font: "--embed-external-font", font_format: "--font-format", decompose_ligature: "--decompose-ligature", auto_hint: "--auto-hint", external_hint_tool: "--external-hint-tool", stretch_narrow_glyph: "--stretch-narrow-glyph", squeeze_wide_glyph: "--squeeze-wide-glyph", override_fstype: "--override-fstype", process_type: "--process-type", heps: "--heps", veps: "--veps", space_threshold: "--space-threshold", font_size_multiplier: "--font-size-multiplier", space_as_offset: "--space-as-offset", tounicode: "--tounicode", optimize_text: "--optimize-text", bg_format: "--bg-format", owner_password: "--owner-password", user_password: "--user-password", no_drm: "--no-drm", clean_tmp: "--clean-tmp", debug: "--debug" }
Class Method Summary collapse
Class Method Details
.convert(input_file, options = {}, output_file = "") ⇒ Object
5 6 7 |
# File 'lib/pdf2html.rb', line 5 def self.convert(input_file, = {}, output_file = "") Caller.new(input_file, , output_file).run end |