Class RtfParserState
- Namespace
- iTextSharp.text.rtf.parser
- Assembly
- iTextSharp.LGPLv2.Core.dll
The RtfParserState contains the state information for the parser. The current state object is pushed/popped in a stack when a group change is made. When an open group is encountered, the current state is copied and then pushed on the top of the stack When a close group is encountered, the current state is overwritten with the popped value from the top of the stack @author Howard Shank (hgshank@yahoo.com) @since 2.0.8
public class RtfParserState
- Inheritance
-
RtfParserState
- Inherited Members
Constructors
RtfParserState()
Default constructor
public RtfParserState()
RtfParserState(RtfParserState)
Copy constructor
public RtfParserState(RtfParserState orig)
Parameters
orig
RtfParserStateThe object to copy
Fields
CtrlWordHandler
The current control word handler.
public object CtrlWordHandler
Field Value
CtrlWordHandlers
Stack containing control word handlers. There could be multiple control words in a group.
public Stack<object> CtrlWordHandlers
Field Value
Destination
The current destination.
public RtfDestination Destination
Field Value
GroupHandler
The control word set as the group handler.
public object GroupHandler
Field Value
IsExtendedDestination
Flag indicating if this is an extended destination * control word
public bool IsExtendedDestination
Field Value
NewGroup
Flag to indicate if last token was an open group token '{'
public bool NewGroup
Field Value
ParserState
The parser state.
public int ParserState
Field Value
Properties
public RtfProperty Properties
Field Value
Text
The parsed value for the current group/control word.
public StringBuilder Text
Field Value
TokeniserState
The tokeniser state.
public int TokeniserState