Package com.itextpdf.layout.splitting
Class BreakAllSplitCharacters
java.lang.Object
com.itextpdf.layout.splitting.BreakAllSplitCharacters
- All Implemented Interfaces:
-
ISplitCharacters
The implementation of
ISplitCharacters that allows breaking within words.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSplitCharacter(GlyphLine text, int glyphPos) The splitting implementation is free to look ahead or look behind characters to make a decision.
-
Constructor Details
-
BreakAllSplitCharacters
public BreakAllSplitCharacters()
-
-
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 text -
glyphPos- the position ofGlyphin theGlyphLine - Returns:
- true if the character can split a line.
-