opendocument-app / OpenDocument.core

C++ library that translates office documents to HTML
GNU General Public License v3.0
23 stars 9 forks source link

odt/docx paging #76

Open andiwand opened 4 years ago

andiwand commented 4 years ago

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.

TomTasche commented 4 years ago

Look at https://www.pagedmedia.org/paged-js/ - otherwise fund new open source project.

TomTasche commented 4 years ago

use same approach as for https://github.com/opendocument-app/OpenDocument.core/issues/115

andiwand commented 4 years ago

Screenshot from 2020-04-29 10-31-10

TomTasche commented 4 years ago

sample code: https://github.com/marcelblanarik/js-html-paging

andiwand commented 2 years ago

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