HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.pdf.DefaultSplitCharacter Class Reference
Inheritance diagram for iTextSharp.text.pdf.DefaultSplitCharacter:
iTextSharp.text.ISplitCharacter

Public Member Functions

bool IsSplitCharacter (int start, int current, int end, char[] cc, PdfChunk[] ck)
 

Static Public Attributes

static readonly ISplitCharacter DEFAULT = new DefaultSplitCharacter()
 

Protected Member Functions

char GetCurrentCharacter (int current, char[] cc, PdfChunk[] ck)
 

Detailed Description

The default class that is used to determine whether or not a character is a split character. You can subclass this class to define your own split characters.

Since
2.1.2

Member Function Documentation

◆ GetCurrentCharacter()

char iTextSharp.text.pdf.DefaultSplitCharacter.GetCurrentCharacter ( int  current,
char[]  cc,
PdfChunk[]  ck 
)
protected

Returns the current character

Parameters
currentcurrent position in the array
ccthe character array that has to be checked
ckchunk array
Returns
the current character

◆ IsSplitCharacter()

bool iTextSharp.text.pdf.DefaultSplitCharacter.IsSplitCharacter ( int  start,
int  current,
int  end,
char[]  cc,
PdfChunk[]  ck 
)

Checks if a character can be used to split a PdfString.

for the moment every character less than or equal to SPACE, the character '-' and some specific unicode ranges are 'splitCharacters'.

Parameters
startstart position in the array
currentcurrent position in the array
endend position in the array
ccthe character array that has to be checked
ckchunk array
Returns
true if the character can be used to split a string, false otherwise

Implements iTextSharp.text.ISplitCharacter.

Member Data Documentation

◆ DEFAULT

readonly ISplitCharacter iTextSharp.text.pdf.DefaultSplitCharacter.DEFAULT = new DefaultSplitCharacter()
static

An instance of the default SplitCharacter.


The documentation for this class was generated from the following file: