Package com.itextpdf.layout.renderer
Interface MulticolRenderer.ColumnHeightCalculator
-
- All Known Implementing Classes:
MulticolRenderer.LayoutInInfiniteHeightCalculator
- Enclosing class:
- MulticolRenderer
public static interface MulticolRenderer.ColumnHeightCalculatorInterface which used for additional height calculation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.FloatgetAdditionalHeightOfEachColumn(MulticolRenderer renderer, MulticolRenderer.MulticolLayoutResult result)Calculate height, by which current height of givenMulticolRenderershould be increased soMulticolLayoutResult#getOverflowRenderercould be laudedintmaxAmountOfRelayouts()
-
-
-
Method Detail
-
getAdditionalHeightOfEachColumn
java.lang.Float getAdditionalHeightOfEachColumn(MulticolRenderer renderer, MulticolRenderer.MulticolLayoutResult result)
Calculate height, by which current height of givenMulticolRenderershould be increased soMulticolLayoutResult#getOverflowRenderercould be lauded- Parameters:
renderer- multicol renderer for which height needs to be increasedresult- result of one iteration ofMulticolRendererlayouting- Returns:
- height by which current height of given multicol renderer should be increased
-
maxAmountOfRelayouts
int maxAmountOfRelayouts()
- Returns:
- maximum amount of relayouts which can be done by this height enhancer
-
-