C# Class RtfDomParser.RTFRawDocument

RTF raw document,this source code evolution from other software.
Inheritance: RtfDomParser.RTFNodeGroup
Show file Open project: SourceCodeBackup/RtfDomParser Class Usage Examples

Protected Properties

Property Type Description
myColorTable RTFColorTable
myFontTable RTFFontTable
myInfo RTFDocumentInfo

Private Properties

Property Type Description
ReadColorTable void
ReadDateTime System.DateTime
ReadDocumentInfo void
ReadFontTable void
Test void

Public Methods

Method Description
Load ( RTFReader reader ) : void

load rtf

Load ( System reader ) : void
Load ( string strFileName ) : void

load rtf file

LoadRTFText ( string strText ) : void

load rtf text

RTFRawDocument ( ) : System

initialize instance

Save ( System stream ) : void

Save rtf to a stream

Save ( string strFileName ) : void

save rtf file

Write ( RTFWriter writer ) : void

write rtf

Private Methods

Method Description
ReadColorTable ( RtfDomParser.RTFNodeGroup group ) : void

read color table

ReadDateTime ( RTFNode g ) : System.DateTime
ReadDocumentInfo ( RtfDomParser.RTFNodeGroup group ) : void

read document information

ReadFontTable ( RtfDomParser.RTFNodeGroup group ) : void

read font table

Test ( ) : void

test

Method Details

Load() public method

load rtf
public Load ( RTFReader reader ) : void
reader RTFReader RTF text reader
return void

Load() public method

public Load ( System reader ) : void
reader System
return void

Load() public method

load rtf file
public Load ( string strFileName ) : void
strFileName string file name
return void

LoadRTFText() public method

load rtf text
public LoadRTFText ( string strText ) : void
strText string text in rtf format
return void

RTFRawDocument() public method

initialize instance
public RTFRawDocument ( ) : System
return System

Save() public method

Save rtf to a stream
public Save ( System stream ) : void
stream System stream
return void

Save() public method

save rtf file
public Save ( string strFileName ) : void
strFileName string file name
return void

Write() public method

write rtf
public Write ( RTFWriter writer ) : void
writer RTFWriter RTF writer
return void

Property Details

myColorTable protected property

color table
protected RTFColorTable,RtfDomParser myColorTable
return RTFColorTable

myFontTable protected property

font table
protected RTFFontTable,RtfDomParser myFontTable
return RTFFontTable

myInfo protected property

document information
protected RTFDocumentInfo,RtfDomParser myInfo
return RTFDocumentInfo