C# Class iTextSharp.text.rtf.parser.RtfParser

显示文件 Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Methods

Method Description
AddListener ( IEventListener listener ) : void
ConvertRtfDocument ( Stream readerIn, Document doc ) : void
GetConversionType ( ) : int
GetCurrentDestination ( ) : RtfDestination
GetDestination ( String destination ) : RtfDestination
GetDocument ( ) : Document
GetExtendedDestination ( ) : bool
GetImportManager ( ) : iTextSharp.text.rtf.parser.RtfImportMgr
GetLevel ( ) : int
GetLogFile ( ) : String
GetParserState ( ) : int
GetRtfDocument ( ) : RtfDocument
GetState ( ) : RtfParserState
GetTokeniserState ( ) : int
HandleCharacter ( int nextChar ) : int
HandleCloseGroup ( ) : int
HandleCtrlWord ( RtfCtrlWordData ctrlWordData ) : int
HandleOpenGroup ( ) : int
ImportRtfDocument ( Stream readerIn, RtfDocument rtfDoc ) : void
ImportRtfDocumentIntoElement ( IElement elem, Stream readerIn, RtfDocument rtfDoc ) : void
ImportRtfFragment ( Stream readerIn, RtfDocument rtfDoc, RtfImportMappings importMappings ) : void
IsConvert ( ) : bool
IsImport ( ) : bool
IsImportFragment ( ) : bool
IsImportFull ( ) : bool
IsLogAppend ( ) : bool
IsLogging ( ) : bool
IsNewGroup ( ) : bool
OutputDebug ( object doc, int groupLevel, String str ) : void
RemoveListener ( IEventListener listener ) : void
RtfParser ( Document doc ) : System
SetCurrentDestination ( String destination ) : bool
SetExtendedDestination ( bool value ) : bool
SetLogAppend ( bool logAppend ) : void
SetLogFile ( String logFile ) : void
SetLogFile ( String logFile, bool logAppend ) : void
SetLogging ( bool logging ) : void
SetNewGroup ( bool value ) : bool
SetParserState ( int newState ) : int
SetTokeniserSkipBytes ( long numberOfBytesToSkip ) : void
SetTokeniserState ( int value ) : int
SetTokeniserStateBinary ( int binaryCount ) : void
SetTokeniserStateBinary ( long binaryCount ) : void
SetTokeniserStateNormal ( ) : void
SetTokeniserStateSkipGroup ( ) : void
Tokenise ( ) : void

Protected Methods

Method Description
Init_stats ( ) : void

Private Methods

Method Description
HandleImportMappings ( RtfImportMappings importMappings ) : void
Init ( int type, RtfDocument rtfDoc, Stream readerIn, Document doc, IElement elem ) : void
Init_Reader ( Stream readerIn ) : PushbackStream
ParseChar ( int nextChar ) : int
ParseCtrlWord ( PushbackStream reader ) : int

Method Details

AddListener() public method

public AddListener ( IEventListener listener ) : void
listener IEventListener
return void

ConvertRtfDocument() public method

public ConvertRtfDocument ( Stream readerIn, Document doc ) : void
readerIn Stream
doc iTextSharp.text.Document
return void

GetConversionType() public method

public GetConversionType ( ) : int
return int

GetCurrentDestination() public method

public GetCurrentDestination ( ) : RtfDestination
return iTextSharp.text.rtf.parser.destinations.RtfDestination

GetDestination() public method

public GetDestination ( String destination ) : RtfDestination
destination String
return iTextSharp.text.rtf.parser.destinations.RtfDestination

GetDocument() public method

public GetDocument ( ) : Document
return iTextSharp.text.Document

GetExtendedDestination() public method

public GetExtendedDestination ( ) : bool
return bool

GetImportManager() public method

public GetImportManager ( ) : iTextSharp.text.rtf.parser.RtfImportMgr
return iTextSharp.text.rtf.parser.RtfImportMgr

GetLevel() public method

public GetLevel ( ) : int
return int

GetLogFile() public method

public GetLogFile ( ) : String
return String

GetParserState() public method

public GetParserState ( ) : int
return int

GetRtfDocument() public method

public GetRtfDocument ( ) : RtfDocument
return iTextSharp.text.rtf.document.RtfDocument

GetState() public method

public GetState ( ) : RtfParserState
return RtfParserState

GetTokeniserState() public method

public GetTokeniserState ( ) : int
return int

HandleCharacter() public method

public HandleCharacter ( int nextChar ) : int
nextChar int
return int

HandleCloseGroup() public method

public HandleCloseGroup ( ) : int
return int

HandleCtrlWord() public method

public HandleCtrlWord ( RtfCtrlWordData ctrlWordData ) : int
ctrlWordData iTextSharp.text.rtf.parser.ctrlwords.RtfCtrlWordData
return int

HandleOpenGroup() public method

public HandleOpenGroup ( ) : int
return int

ImportRtfDocument() public method

public ImportRtfDocument ( Stream readerIn, RtfDocument rtfDoc ) : void
readerIn Stream
rtfDoc iTextSharp.text.rtf.document.RtfDocument
return void

ImportRtfDocumentIntoElement() public method

public ImportRtfDocumentIntoElement ( IElement elem, Stream readerIn, RtfDocument rtfDoc ) : void
elem IElement
readerIn Stream
rtfDoc iTextSharp.text.rtf.document.RtfDocument
return void

ImportRtfFragment() public method

public ImportRtfFragment ( Stream readerIn, RtfDocument rtfDoc, RtfImportMappings importMappings ) : void
readerIn Stream
rtfDoc iTextSharp.text.rtf.document.RtfDocument
importMappings RtfImportMappings
return void

Init_stats() protected method

protected Init_stats ( ) : void
return void

IsConvert() public method

public IsConvert ( ) : bool
return bool

IsImport() public method

public IsImport ( ) : bool
return bool

IsImportFragment() public method

public IsImportFragment ( ) : bool
return bool

IsImportFull() public method

public IsImportFull ( ) : bool
return bool

IsLogAppend() public method

public IsLogAppend ( ) : bool
return bool

IsLogging() public method

public IsLogging ( ) : bool
return bool

IsNewGroup() public method

public IsNewGroup ( ) : bool
return bool

OutputDebug() public static method

public static OutputDebug ( object doc, int groupLevel, String str ) : void
doc object
groupLevel int
str String
return void

RemoveListener() public method

public RemoveListener ( IEventListener listener ) : void
listener IEventListener
return void

RtfParser() public method

public RtfParser ( Document doc ) : System
doc iTextSharp.text.Document
return System

SetCurrentDestination() public method

public SetCurrentDestination ( String destination ) : bool
destination String
return bool

SetExtendedDestination() public method

public SetExtendedDestination ( bool value ) : bool
value bool
return bool

SetLogAppend() public method

public SetLogAppend ( bool logAppend ) : void
logAppend bool
return void

SetLogFile() public method

public SetLogFile ( String logFile ) : void
logFile String
return void

SetLogFile() public method

public SetLogFile ( String logFile, bool logAppend ) : void
logFile String
logAppend bool
return void

SetLogging() public method

public SetLogging ( bool logging ) : void
logging bool
return void

SetNewGroup() public method

public SetNewGroup ( bool value ) : bool
value bool
return bool

SetParserState() public method

public SetParserState ( int newState ) : int
newState int
return int

SetTokeniserSkipBytes() public method

public SetTokeniserSkipBytes ( long numberOfBytesToSkip ) : void
numberOfBytesToSkip long
return void

SetTokeniserState() public method

public SetTokeniserState ( int value ) : int
value int
return int

SetTokeniserStateBinary() public method

public SetTokeniserStateBinary ( int binaryCount ) : void
binaryCount int
return void

SetTokeniserStateBinary() public method

public SetTokeniserStateBinary ( long binaryCount ) : void
binaryCount long
return void

SetTokeniserStateNormal() public method

public SetTokeniserStateNormal ( ) : void
return void

SetTokeniserStateSkipGroup() public method

public SetTokeniserStateSkipGroup ( ) : void
return void

Tokenise() public method

public Tokenise ( ) : void
return void