iText 7 7.1.9 API
iText.Layout.Splitting.DefaultSplitCharacters Class Reference

The default implementation of ISplitCharacters interface. More...

Inheritance diagram for iText.Layout.Splitting.DefaultSplitCharacters:
iText.Layout.Splitting.ISplitCharacters

Public Member Functions

virtual bool  IsSplitCharacter (GlyphLine text, int glyphPos)
  Returns true if the character can split a line. More...
 

Detailed Description

The default implementation of ISplitCharacters interface.

Member Function Documentation

◆ IsSplitCharacter()

virtual bool iText.Layout.Splitting.DefaultSplitCharacters.IsSplitCharacter ( GlyphLine  text,
int  glyphPos 
)
inlinevirtual

Returns true if the character can split a line.

Returns true if the character can split a line. The splitting implementation is free to look ahead or look behind characters to make a decision.

Parameters
glyphPos the position of iText.IO.Font.Otf.Glyph in the iText.IO.Font.Otf.GlyphLine
text an array of unicode char codes which represent current text

Implements iText.Layout.Splitting.ISplitCharacters.