Table of Contents

Class RtfCtrlWordMgr

Namespace
iTextSharp.text.rtf.parser.ctrlwords
Assembly
iTextSharp.LGPLv2.Core.dll

RtfCtrlWordMgr handles the dispatching of control words from the table of known control words. @author Howard Shank (hgshank@yahoo.com) @since 2.0.8

public sealed class RtfCtrlWordMgr
Inheritance
RtfCtrlWordMgr
Inherited Members

Constructors

RtfCtrlWordMgr(RtfParser, PushbackStream)

// TIMING DEBUG INFO

public RtfCtrlWordMgr(RtfParser rtfParser, PushbackStream reader)

Parameters

rtfParser RtfParser

The parser object this manager works with.

reader PushbackStream

the PushbackReader from the tokeniser.

Fields

Debug

public static bool Debug

Field Value

bool

DebugFound

public static bool DebugFound

Field Value

bool

DebugNotFound

public static bool DebugNotFound

Field Value

bool

Methods

AddRtfCtrlWordListener(IRtfCtrlWordListener)

Adds a RtfCtrlWordListener to the RtfCtrlWordMgr . the new RtfCtrlWordListener.

public void AddRtfCtrlWordListener(IRtfCtrlWordListener listener)

Parameters

listener IRtfCtrlWordListener

HandleKeyword(RtfCtrlWordData, int)

Internal to control word manager class.

public int HandleKeyword(RtfCtrlWordData ctrlWordData, int groupLevel)

Parameters

ctrlWordData RtfCtrlWordData

The RtfCtrlWordData object with control word and param

groupLevel int

The current document group parsing level

Returns

int

errOK if ok, otherwise an error code.

RemoveRtfCtrlWordListener(IRtfCtrlWordListener)

listener methods

public void RemoveRtfCtrlWordListener(IRtfCtrlWordListener listener)

Parameters

listener IRtfCtrlWordListener