Class BreakAllSplitCharacters

java.lang.Object
com.itextpdf.layout.splitting.BreakAllSplitCharacters
All Implemented Interfaces:
ISplitCharacters

public class BreakAllSplitCharacters extends Object implements ISplitCharacters
The implementation of ISplitCharacters that allows breaking within words.
  • Constructor Details

    • BreakAllSplitCharacters

      public BreakAllSplitCharacters()
  • Method Details

    • isSplitCharacter

      public boolean isSplitCharacter (GlyphLine text, int glyphPos)
      Description copied from interface: ISplitCharacters
      The splitting implementation is free to look ahead or look behind characters to make a decision.
      Specified by:
      isSplitCharacter in interface ISplitCharacters
      Parameters:
      text - an array of unicode char codes which represent current text
      glyphPos - the position of Glyph in the GlyphLine
      Returns:
      true if the character can split a line.