Interface IPatternConsumer
- Namespace
- iTextSharp.text.pdf.hyphenation
- Assembly
- iTextSharp.LGPLv2.Core.dll
This interface is used to connect the XML pattern file parser to the hyphenation tree. @author Carlos Villegas
public interface IPatternConsumer
Methods
AddClass(string)
Add a character class. A character class defines characters that are considered equivalent for the purpose of hyphenation (e.g. "aA"). It usually means to ignore case.
void AddClass(string chargroup)
Parameters
chargroup
stringcharacter group
AddException(string, List<object>)
Add a hyphenation exception. An exception replaces the result obtained by the algorithm for cases for which this fails or the user wants to provide his own hyphenation. A hyphenatedword is a vector of alternating String's and {@link Hyphen Hyphen} instances
void AddException(string word, List<object> hyphenatedword)
Parameters
AddPattern(string, string)
Add hyphenation patterns. digit characters.
void AddPattern(string pattern, string values)