Package com.itextpdf.layout.renderer
Interface MulticolRenderer.ColumnHeightCalculator
-
- All Known Implementing Classes:
MulticolRenderer.LayoutInInfiniteHeightCalculator
- Enclosing class:
- MulticolRenderer
public static interface MulticolRenderer.ColumnHeightCalculator
Interface which used for additional height calculation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Float
getAdditionalHeightOfEachColumn(MulticolRenderer renderer, MulticolRenderer.MulticolLayoutResult result)
Calculate height, by which current height of givenMulticolRenderer
should be increased soMulticolLayoutResult#getOverflowRenderer
could be laudedint
maxAmountOfRelayouts()
-
-
-
Method Detail
-
getAdditionalHeightOfEachColumn
java.lang.Float getAdditionalHeightOfEachColumn(MulticolRenderer renderer, MulticolRenderer.MulticolLayoutResult result)
Calculate height, by which current height of givenMulticolRenderer
should be increased soMulticolLayoutResult#getOverflowRenderer
could be lauded- Parameters:
renderer
- multicol renderer for which height needs to be increasedresult
- result of one iteration ofMulticolRenderer
layouting- Returns:
- height by which current height of given multicol renderer should be increased
-
maxAmountOfRelayouts
int maxAmountOfRelayouts()
-
-