org.pentaho.reporting.libraries.fonts.text.breaks
Class WordBreakProducer
java.lang.Object
org.pentaho.reporting.libraries.fonts.text.breaks.LineBreakProducer
org.pentaho.reporting.libraries.fonts.text.breaks.WordBreakProducer
- All Implemented Interfaces:
- Cloneable, BreakOpportunityProducer, ClassificationProducer
public class WordBreakProducer
- extends LineBreakProducer
This is the standard behaviour for HTML.It breaks texts at word boundaries.
- Author:
- Thomas Morgner
WordBreakProducer
public WordBreakProducer()
createBreakOpportunity
public int createBreakOpportunity(int codepoint)
- Specified by:
createBreakOpportunity
in interface BreakOpportunityProducer
- Overrides:
createBreakOpportunity
in class LineBreakProducer