com.lowagie.text.pdf
public class DefaultSplitCharacter extends Object implements SplitCharacter
Since: 2.1.2
Field Summary | |
---|---|
static SplitCharacter | DEFAULT
An instance of the default SplitCharacter. |
Method Summary | |
---|---|
protected char | getCurrentCharacter(int current, char[] cc, PdfChunk[] ck)
Returns the current character |
boolean | isSplitCharacter(int start, int current, int end, char[] cc, PdfChunk[] ck)
Checks if a character can be used to split a PdfString .
|
Parameters: current current position in the array cc the character array that has to be checked ck chunk array
Returns: the current character
PdfString
.
for the moment every character less than or equal to SPACE, the character '-' and some specific unicode ranges are 'splitCharacters'.
Parameters: start start position in the array current current position in the array end end position in the array cc the character array that has to be checked ck chunk array
Returns: true
if the character can be used to split a string, false
otherwise