Class DefaultSplitCharacters
java.lang.Object
com.itextpdf.layout.splitting.DefaultSplitCharacters
- All Implemented Interfaces:
ISplitCharacters
The default implementation of
ISplitCharacters interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanisADigitChar(GlyphLine text, int glyphPos) booleanisSplitCharacter(GlyphLine text, int glyphPos) The splitting implementation is free to look ahead or look behind characters to make a decision.
-
Constructor Details
-
DefaultSplitCharacters
public DefaultSplitCharacters()
-
-
Method Details
-
isSplitCharacter
Description copied from interface:ISplitCharactersThe splitting implementation is free to look ahead or look behind characters to make a decision.- Specified by:
isSplitCharacterin interfaceISplitCharacters- Parameters:
text- an array of unicode char codes which represent current textglyphPos- the position ofGlyphin theGlyphLine- Returns:
- true if the character can split a line.
-
isADigitChar
-