Export to HTML - one HTML file per page?

Hi all. I’m working with an author to convert a 400 page book to what amounts to a stylized web app version of the book. So I’ve got the .doc file, and I need to export it to basic HTML. My question is - is it possible, and if so, how, to export each page as an individual HTML file instead of the entire document being one giant HTML doc?

If there’s a macro, that’d be great. I appreciate any help!

You will need to do this using a macro as the concept of a page is not stored in an ODT file (other than for hard page breaks and the paper size) but rather calculated by the rendering engine. I can’t offer any assistance with the code of the macro. The macro would likely also need to somehow link all the various pages together.