Convert PDF file to a single HTML file

久未见 提交于 2019-12-06 06:44:23

Any suggestions?

You might always write some code using the JSoup API to write a single document that incorporates the body of each of the multiple HTML files. Combining styles & style-sheets (CSS) might be a bit more tricky (especially if the original HTML uses 'id' elements).


Though I find it hard to believe there is not a converter out there in which 'single document' is an option. I recommend searching further.

I think it should be possible to parse your PDF document with itext and then generate your html file. I must admit I haven't checked if it is doable though.

Have you looked at http://www.jpedal.org/html_index.php which has an optiont to write to single file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!