org.pentaho.reporting.libraries.fonts.text.breaks
Class WordBreakProducer

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.text.breaks.LineBreakProducer
      extended by org.pentaho.reporting.libraries.fonts.text.breaks.WordBreakProducer
All Implemented Interfaces:
java.lang.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
WordBreakProducer()
           
 
Method Summary
 int createBreakOpportunity(int codepoint)
           
 
Methods inherited from class org.pentaho.reporting.libraries.fonts.text.breaks.LineBreakProducer
clone, reset, startText
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordBreakProducer

public WordBreakProducer()
Method Detail

createBreakOpportunity

public int createBreakOpportunity(int codepoint)
Specified by:
createBreakOpportunity in interface BreakOpportunityProducer
Overrides:
createBreakOpportunity in class LineBreakProducer