net.sf.jasperreports.engine.fill
Interface JRTextMeasurer
- All Known Implementing Classes:
- JdkGlyphFixTextMeasurer, TextMeasurer
public interface JRTextMeasurer
Text measurer interface.
A text measurer is responsible for fitting a text in a given space
and for computing other text measuring information.
- Version:
- $Id: JRTextMeasurer.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Lucian Chirita ([email protected])
Method Summary |
JRMeasuredText |
measure(JRStyledText styledText,
int remainingTextStart,
int availableStretchHeight,
boolean canOverflow)
Fit a text chunk in a given space. |
measure
JRMeasuredText measure(JRStyledText styledText,
int remainingTextStart,
int availableStretchHeight,
boolean canOverflow)
- Fit a text chunk in a given space.
- Parameters:
styledText
- the full textremainingTextStart
- the start index of the remaining textavailableStretchHeight
- the available stretch heightcanOverflow
- whether the text element is able to overflow
- Returns:
- text measuring information
Copyright © 2012. All Rights Reserved.