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

Class LineBreakProducer

public class LineBreakProducer extends Object implements BreakOpportunityProducer

This produces linebreaks when a CR/LF is encountered. This corresponds to the expected behaviour of HTML-pre elements.

Author: Thomas Morgner

Constructor Summary
LineBreakProducer()
Method Summary
Objectclone()
intcreateBreakOpportunity(int codepoint)
voidreset()
voidstartText()
Signals the start of text.

Constructor Detail

LineBreakProducer

public LineBreakProducer()

Method Detail

clone

public Object clone()

createBreakOpportunity

public int createBreakOpportunity(int codepoint)

reset

public void reset()

startText

public void startText()
Signals the start of text. Resets the state to the initial values.