danfickle / danfickle/openhtmltopdf

Page break before image

Open
#117 4 comments 0 reactions 1 assignee Claimed by @danfickle View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

Currently if there isn't enough space at the bottom of a page for an image then a page break is inserted and the image is placed on the next page. This is great and probably the expected behavior most of the time. :-)

Is there a way though from preventing this from happening ?
In certain cases I would like the image to be placed even if there isn't enough space, with the remaining part of the image either dropped, or to overflow onto the next page.

If there isn't already a way to do this could the css style `overflow: hidden/visible` maybe be extended to be able to accommodate this ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.