Table of Contents

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

ex List<object>

Returns

string

GetInterletterValues(string)

protected static string GetInterletterValues(string pat)

Parameters

pat string

Returns

string

GetPattern(string)

protected static string GetPattern(string word)

Parameters

word string

Returns

string

NormalizeException(List<object>)

protected List<object> NormalizeException(List<object> ex)

Parameters

ex List<object>

Returns

List<object>

Parse(Stream, IPatternConsumer)

public void Parse(Stream stream, IPatternConsumer consumer)

Parameters

stream Stream
consumer 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 string
h INullValueDictionary<string, string>

Text(string)

public void Text(string str)

Parameters

str string