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
This is the standard behaviour for HTML.It breaks texts at word boundaries.
- Author:
- Thomas Morgner
-
Field Summary
Fields inherited from interface org.pentaho.reporting.libraries.fonts.text.breaks.BreakOpportunityProducer
BREAK_CHAR, BREAK_LINE, BREAK_NEVER, BREAK_SYLLABLE, BREAK_WORD
Fields inherited from interface org.pentaho.reporting.libraries.fonts.text.ClassificationProducer
END_OF_TEXT, START_OF_TEXT
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.pentaho.reporting.libraries.fonts.text.breaks.LineBreakProducer
clone, reset, startText
-
Constructor Details
-
WordBreakProducer
public WordBreakProducer()
-
-
Method Details
-
createBreakOpportunity
public int createBreakOpportunity(int codepoint) - Specified by:
createBreakOpportunity
in interfaceBreakOpportunityProducer
- Overrides:
createBreakOpportunity
in classLineBreakProducer
-