Package com.openhtmltopdf.render
Class FlowingColumnContainerBox.ColumnBreakStore
- java.lang.Object
-
- com.openhtmltopdf.render.FlowingColumnContainerBox.ColumnBreakStore
-
- Enclosing class:
- FlowingColumnContainerBox
public static class FlowingColumnContainerBox.ColumnBreakStore extends Object
-
-
Constructor Summary
Constructors Constructor Description ColumnBreakStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBreak(Box box, List<Box> ancestors)Add a break opportunity.booleancheckContainerShouldProcess(Box container)Whether an ancestor box needs to be added to the list of ancestors.StringtoString()
-
-
-
Method Detail
-
addBreak
public void addBreak(Box box, List<Box> ancestors)
Add a break opportunity. If this is a break opportunity and a first child, it should also add all unprocessed ancestors, so they can be moved with the first child.
-
checkContainerShouldProcess
public boolean checkContainerShouldProcess(Box container)
Whether an ancestor box needs to be added to the list of ancestors.- Returns:
- true to process this ancestor (we haven't seen it yet).
-
-