0

I have finished generating a PDF with tables, headers and clickable TOC styled nicely. Now I would like to have an HTML version. Is it possible to use the same ReportLab to just easily generate the HTML file?

JA-pythonista
  • 1,225
  • 1
  • 21
  • 44

1 Answers1

0

Generally, the opposite is a lot easier (HTML -> PDF). ReportLab commercial has an option for this, as does xhtml2pdf. For PDF -> HTML, you can try PDF2Tree.

The direct answer to this question is: No. ReportLab does not have an easy way to do this. At least not according to their documentation.

bones225
  • 1,488
  • 2
  • 13
  • 33