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?
Asked
Active
Viewed 287 times
0

JA-pythonista
- 1,225
- 1
- 21
- 44
1 Answers
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