PDF do HTML Python
htmlOutputOptions = HTMLOutputOptions()
# Set e_reflow_paragraphs content reflow setting
htmlOutputOptions.SetContentReflowSetting(HTMLOutputOptions.e_reflow_paragraphs)
# Optionally set to flow paragraphs across the entire browser window.
htmlOutputOptions.SetNoPageWidth(True)
# Convert PDF document to HTML with reflow paragraphs option turned on
# But requires the PDF2HtmlReflowParagraphsModule
Convert.ToHtml(filename, output_filename, htmlOutputOptions)
Copy
Ugly Unicorn