Class BlockBoxing

java.lang.Object
com.openhtmltopdf.layout.BlockBoxing

public class BlockBoxing extends Object
Utility class for laying block content. It is called when a block box contains block level content. BoxBuilder will have made sure that the block we're working on will either contain only inline or block content. If we're in a paged media environment, the various page break related properties are also handled here. If a rule is violated, the affected run of boxes will be layed out again. If the rule still cannot be satisfied, the rule will be dropped.

IMPORTANT: This is quite hard to get right without causing an explosion of layouts caused by re-attempts to satisfy page-break-inside: avoid in deeply nested content. Please be careful when editing these functions.