Open andiwand opened 4 years ago
Look at https://www.pagedmedia.org/paged-js/ - otherwise fund new open source project.
use same approach as for https://github.com/opendocument-app/OpenDocument.core/issues/115
sample code: https://github.com/marcelblanarik/js-html-paging
archived our first attempt for now https://github.com/opendocument-app/OpenDocument.core/pull/177 since it is outdated. we can come back and reuse the code at any time
text documents like odt and docx have floating content and the paging has to be done as part of the rendering. html seems not being able to handle this.
this could be a completely independent project. given any html floating input it should produce pages containing that content without overflowing its borders.