Class SimplePatternParser
- Namespace
- iTextSharp.text.pdf.hyphenation
- Assembly
- iTextSharp.LGPLv2.Core.dll
Parses the xml hyphenation pattern. @author Paulo Soares (psoares@consiste.pt)
public class SimplePatternParser : ISimpleXmlDocHandler
- Inheritance
-
SimplePatternParser
- Implements
- Inherited Members
Constructors
SimplePatternParser()
Creates a new instance of PatternParser2
public SimplePatternParser()
Methods
EndDocument()
Called after the document is parsed.
public void EndDocument()
EndElement(string)
public void EndElement(string tag)
Parameters
tag
string
GetExceptionWord(List<object>)
protected static string GetExceptionWord(List<object> ex)
Parameters
Returns
GetInterletterValues(string)
protected static string GetInterletterValues(string pat)
Parameters
pat
string
Returns
GetPattern(string)
protected static string GetPattern(string word)
Parameters
word
string
Returns
NormalizeException(List<object>)
protected List<object> NormalizeException(List<object> ex)
Parameters
Returns
Parse(Stream, IPatternConsumer)
public void Parse(Stream stream, IPatternConsumer consumer)
Parameters
stream
Streamconsumer
IPatternConsumer
StartDocument()
Called when the document starts to be parsed.
public void StartDocument()
StartElement(string, INullValueDictionary<string, string>)
public void StartElement(string tag, INullValueDictionary<string, string> h)
Parameters
tag
stringh
INullValueDictionary<string, string>
Text(string)
public void Text(string str)
Parameters
str
string