OpenDocument.core icon indicating copy to clipboard operation
OpenDocument.core copied to clipboard

odt/docx paging

Open andiwand opened this issue 5 years ago • 5 comments

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.

andiwand avatar Feb 01 '20 08:02 andiwand

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

TomTasche avatar Feb 11 '20 19:02 TomTasche

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

TomTasche avatar Apr 10 '20 17:04 TomTasche

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

andiwand avatar Apr 29 '20 08:04 andiwand

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

TomTasche avatar Apr 29 '20 16:04 TomTasche

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

andiwand avatar Nov 18 '21 16:11 andiwand