net.sf.jasperreports.engine.util
Class BreakIteratorSplitCharacter
java.lang.Object
net.sf.jasperreports.engine.util.BreakIteratorSplitCharacter
- All Implemented Interfaces:
- com.lowagie.text.SplitCharacter
public class BreakIteratorSplitCharacter
- extends java.lang.Object
- implements com.lowagie.text.SplitCharacter
Implementation of SplitCharacter
that
uses the same logic as AWT to break texts into lines.
- Version:
- $Id: BreakIteratorSplitCharacter.java 5180 2012-03-29 13:23:12Z teodord $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
JRPdfExporterParameter.FORCE_LINEBREAK_POLICY
,
JRPdfExporterParameter.PROPERTY_FORCE_LINEBREAK_POLICY
Method Summary |
protected char |
currentChar(int current,
char[] cc,
com.lowagie.text.pdf.PdfChunk[] ck)
|
boolean |
isSplitCharacter(int startIdx,
int current,
int endIdx,
char[] cc,
com.lowagie.text.pdf.PdfChunk[] ck)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BreakIteratorSplitCharacter
public BreakIteratorSplitCharacter()
BreakIteratorSplitCharacter
public BreakIteratorSplitCharacter(java.text.BreakIterator breakIter)
isSplitCharacter
public boolean isSplitCharacter(int startIdx,
int current,
int endIdx,
char[] cc,
com.lowagie.text.pdf.PdfChunk[] ck)
- Specified by:
isSplitCharacter
in interface com.lowagie.text.SplitCharacter
currentChar
protected char currentChar(int current,
char[] cc,
com.lowagie.text.pdf.PdfChunk[] ck)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com