public class ComputeMarginsStep extends IterateVisualProcessStep
Constructor and Description |
---|
ComputeMarginsStep() |
Modifier and Type | Method and Description |
---|---|
void |
compute(LogicalPageBox root) |
protected void |
finishBlockLevelBox(RenderBox box)
On our way out, compute the bottom and right margins as well.
|
protected void |
processParagraphChilds(ParagraphRenderBox box) |
protected boolean |
startBlockLevelBox(RenderBox box)
This computes the top and left margin.
|
finishInlineLevelBox, processBlockLevelChild, processBlockLevelNode, processBoxChilds, processFlow, processInlineLevelChild, processInlineLevelNode, processOtherLevelChild, startInlineLevelBox, startProcessing
public void compute(LogicalPageBox root)
protected void processParagraphChilds(ParagraphRenderBox box)
processParagraphChilds
in class IterateVisualProcessStep
protected boolean startBlockLevelBox(RenderBox box)
startBlockLevelBox
in class IterateVisualProcessStep
box
- protected void finishBlockLevelBox(RenderBox box)
finishBlockLevelBox
in class IterateVisualProcessStep
box
-