Package net.sf.jasperreports.pdf.util
Class BreakIteratorSplitCharacter
- java.lang.Object
-
- net.sf.jasperreports.pdf.util.BreakIteratorSplitCharacter
-
- All Implemented Interfaces:
com.lowagie.text.SplitCharacter
public class BreakIteratorSplitCharacter extends Object implements com.lowagie.text.SplitCharacter
Implementation ofSplitCharacter
that uses the same logic as AWT to break texts into lines.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
PdfReportConfiguration.isForceLineBreakPolicy()
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
BreakIteratorSplitCharacter.ArrayCharIterator
-
Constructor Summary
Constructors Constructor Description BreakIteratorSplitCharacter()
BreakIteratorSplitCharacter(BreakIterator breakIter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Constructor Detail
-
BreakIteratorSplitCharacter
public BreakIteratorSplitCharacter()
-
BreakIteratorSplitCharacter
public BreakIteratorSplitCharacter(BreakIterator breakIter)
-
-
Method Detail
-
isSplitCharacter
public boolean isSplitCharacter(int startIdx, int current, int endIdx, char[] cc, com.lowagie.text.pdf.PdfChunk[] ck)
- Specified by:
isSplitCharacter
in interfacecom.lowagie.text.SplitCharacter
-
currentChar
protected char currentChar(int current, char[] cc, com.lowagie.text.pdf.PdfChunk[] ck)
-
-