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
Modifier and TypeMethodDescriptiongetAdditionalHeightOfEachColumn
(MulticolRenderer renderer, MulticolRenderer.MulticolLayoutResult result) Calculate height, by which current height of givenMulticolRenderer
should be increased soMulticolLayoutResult#getOverflowRenderer
could be laudedint
-
Method Details
-
getAdditionalHeightOfEachColumn
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()
-