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
RtfParserThe parser object this manager works with.
reader
PushbackStreamthe PushbackReader from the tokeniser.
Fields
Debug
public static bool Debug
Field Value
DebugFound
public static bool DebugFound
Field Value
DebugNotFound
public static bool DebugNotFound
Field Value
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
RtfCtrlWordDataThe RtfCtrlWordData object with control word and param
groupLevel
intThe 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