Skip to main content
Skip table of contents

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
ReturnsName
byte``[]GetValues(int k)
intHstrcmp(char``[] s, int si, char``[] t, int ti)
intPackValues(string values)
voidSearchPatterns(char``[] word, int index, byte``[] il)
stringUnpackValues(int k)
Public methods
ReturnsName
voidAddClass(string chargroup)
voidAddException(string word, List<object> hyphenatedword)
voidAddPattern(string pattern, string ivalue)
stringFindPattern(string pat)
HyphenationHyphenate(...)
voidLoadSimplePatterns(Stream stream)
voidPrintStats()

Details

Inheritance

Constructors

HyphenationTree

Source code

public HyphenationTree()

Methods

PackValues

Source code

protected virtual int PackValues(string values)
Arguments
TypeNameDescription
stringvalues
UnpackValues

Source code

protected virtual string UnpackValues(int k)
Arguments
TypeNameDescription
intk
LoadSimplePatterns

Source code

public virtual void LoadSimplePatterns(Stream stream)
Arguments
TypeNameDescription
Streamstream
FindPattern

Source code

public virtual string FindPattern(string pat)
Arguments
TypeNameDescription
stringpat
Hstrcmp

Source code

protected virtual int Hstrcmp(char[] s, int si, char[] t, int ti)
Arguments
TypeNameDescription
char``[]s
intsi
char``[]t
intti
GetValues

Source code

protected virtual byte GetValues(int k)
Arguments
TypeNameDescription
intk
SearchPatterns

Source code

protected virtual void SearchPatterns(char[] word, int index, byte[] il)
Arguments
TypeNameDescription
char``[]word
intindex
byte``[]il
Hyphenate [1/2]

Source code

public virtual Hyphenation Hyphenate(string word, int remainCharCount, int pushCharCount)
Arguments
TypeNameDescription
stringword
intremainCharCount
intpushCharCount
Hyphenate [2/2]

Source code

public virtual Hyphenation Hyphenate(char[] w, int offset, int len, int remainCharCount, int pushCharCount)
Arguments
TypeNameDescription
char``[]w
intoffset
intlen
intremainCharCount
intpushCharCount
AddClass

Source code

public virtual void AddClass(string chargroup)
Arguments
TypeNameDescription
stringchargroup
AddException

Source code

public virtual void AddException(string word, List<object> hyphenatedword)
Arguments
TypeNameDescription
stringword
List<object>hyphenatedword
AddPattern

Source code

public virtual void AddPattern(string pattern, string ivalue)
Arguments
TypeNameDescription
stringpattern
stringivalue
PrintStats

Source code

public override void PrintStats()

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.