iText 5

HyphenationTree

HyphenationTree Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf.hyphenation iTextSharp.text.pdf.hyphenation.HyphenationTree[[HyphenationTree]] iTextSharp.text.pdf.hyphenation.IPatternConsumer[[IPatternConsumer]] class iTextSharp.text.pdf.hyphenation.IPatternConsumer interfaceStyle; iTextSharp.text.pdf.hyphenation.TernaryTree[[TernaryTree]] end iTextSharp.text.pdf.hyphenation.IPatternConsumer --> iTextSharp.text.pdf.hyphenation.HyphenationTree iTextSharp.text.pdf.hyphenation.TernaryTree --> iTextSharp.text.pdf.hyphenation.HyphenationTree

Members

Methods

Protected methods

Returns

Name

byte``[]

GetValues

(int k)

int

Hstrcmp

(char``[] s, int si, char``[] t, int ti)

int

PackValues

(string values)

void

SearchPatterns

(char``[] word, int index, byte``[] il)

string

UnpackValues

(int k)

Public methods

Returns

Name

void

AddClass

(string chargroup)

void

AddException

(string word, List<object> hyphenatedword)

void

AddPattern

(string pattern, string ivalue)

string

FindPattern

(string pat)

Hyphenation

Hyphenate

(...)

void

LoadSimplePatterns

(Stream stream)

void

PrintStats

()

Details

Inheritance

Constructors

HyphenationTree

Source code

public HyphenationTree()

Methods

PackValues

Source code

protected virtual int PackValues(string values)

Arguments

Type

Name

Description

string

values

UnpackValues

Source code

protected virtual string UnpackValues(int k)

Arguments

Type

Name

Description

int

k

LoadSimplePatterns

Source code

public virtual void LoadSimplePatterns(Stream stream)

Arguments

Type

Name

Description

Stream

stream

FindPattern

Source code

public virtual string FindPattern(string pat)

Arguments

Type

Name

Description

string

pat

Hstrcmp

Source code

protected virtual int Hstrcmp(char[] s, int si, char[] t, int ti)

Arguments

Type

Name

Description

char``[]

s

int

si

char``[]

t

int

ti

GetValues

Source code

protected virtual byte GetValues(int k)

Arguments

Type

Name

Description

int

k

SearchPatterns

Source code

protected virtual void SearchPatterns(char[] word, int index, byte[] il)

Arguments

Type

Name

Description

char``[]

word

int

index

byte``[]

il

Hyphenate [1/2]

Source code

public virtual Hyphenation Hyphenate(string word, int remainCharCount, int pushCharCount)

Arguments

Type

Name

Description

string

word

int

remainCharCount

int

pushCharCount

Hyphenate [2/2]

Source code

public virtual Hyphenation Hyphenate(char[] w, int offset, int len, int remainCharCount, int pushCharCount)

Arguments

Type

Name

Description

char``[]

w

int

offset

int

len

int

remainCharCount

int

pushCharCount

AddClass

Source code

public virtual void AddClass(string chargroup)

Arguments

Type

Name

Description

string

chargroup

AddException

Source code

public virtual void AddException(string word, List<object> hyphenatedword)

Arguments

Type

Name

Description

string

word

List<object>

hyphenatedword

AddPattern

Source code

public virtual void AddPattern(string pattern, string ivalue)

Arguments

Type

Name

Description

string

pattern

string

ivalue

PrintStats

Source code

public override void PrintStats()

Generated with ModularDoc