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
-
-
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 Constructor Description WordBreakProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
createBreakOpportunity(int codepoint)
-
Methods inherited from class org.pentaho.reporting.libraries.fonts.text.breaks.LineBreakProducer
clone, reset, startText
-
-
-
-
Method Detail
-
createBreakOpportunity
public int createBreakOpportunity(int codepoint)
- Specified by:
createBreakOpportunity
in interfaceBreakOpportunityProducer
- Overrides:
createBreakOpportunity
in classLineBreakProducer
-
-