C# 클래스 RtfDomParser.RTFWriter

RTF text writer , this source code evolution from other software.
상속: System.IDisposable
파일 보기 프로젝트 열기: SourceCodeBackup/RtfDomParser 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void

close

Dispose ( ) : void

dispose instance

Flush ( ) : void
RTFWriter ( System w ) : System

Initialize instance

RTFWriter ( string strFileName ) : System

Initialize instance

WriteByte ( byte b ) : void

write a byte data

WriteBytes ( byte bs ) : void

write binary data

WriteEndGroup ( ) : void

end write group

WriteGroup ( string KeyWord ) : void

write completed group wich one keyword

WriteKeyword ( string Keyword ) : void

write keyword

WriteKeyword ( string Keyword, bool Ext ) : void

write keyword

WriteRaw ( string txt ) : void

write raw text

WriteStartGroup ( ) : void

begin write group

WriteText ( string Text ) : void

write plain text

WriteText ( string Text, bool AutoAddWhitespace ) : void

write plain text, can choose write a white space automatic

WriteUnicodeText ( string text ) : void

비공개 메소드들

메소드 설명
FixIndent ( ) : void
InnerWrite ( char c ) : void
InnerWrite ( string txt ) : void
InnerWriteChar ( char c ) : void
InnerWriteNewLine ( ) : void
TestBuildRTF ( RTFWriter w ) : void

Test to generate a little rtf document

TestClipboard ( ) : void

Test generate rtf text and copy to windows clipboard after execute this function , you can paste rtf text in MS Word

TestWriteFile ( ) : void

Test generate rtf file after execute this function you can open c:\a.rtf

WriteIndent ( ) : void

메소드 상세

Close() 공개 메소드

close
public Close ( ) : void
리턴 void

Dispose() 공개 메소드

dispose instance
public Dispose ( ) : void
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

RTFWriter() 공개 메소드

Initialize instance
public RTFWriter ( System w ) : System
w System text writer
리턴 System

RTFWriter() 공개 메소드

Initialize instance
public RTFWriter ( string strFileName ) : System
strFileName string file name
리턴 System

WriteByte() 공개 메소드

write a byte data
public WriteByte ( byte b ) : void
b byte byte data
리턴 void

WriteBytes() 공개 메소드

write binary data
public WriteBytes ( byte bs ) : void
bs byte binary data
리턴 void

WriteEndGroup() 공개 메소드

end write group
public WriteEndGroup ( ) : void
리턴 void

WriteGroup() 공개 메소드

write completed group wich one keyword
public WriteGroup ( string KeyWord ) : void
KeyWord string keyword
리턴 void

WriteKeyword() 공개 메소드

write keyword
public WriteKeyword ( string Keyword ) : void
Keyword string keyword
리턴 void

WriteKeyword() 공개 메소드

write keyword
public WriteKeyword ( string Keyword, bool Ext ) : void
Keyword string keyword
Ext bool whether extern key word
리턴 void

WriteRaw() 공개 메소드

write raw text
public WriteRaw ( string txt ) : void
txt string text
리턴 void

WriteStartGroup() 공개 메소드

begin write group
public WriteStartGroup ( ) : void
리턴 void

WriteText() 공개 메소드

write plain text
public WriteText ( string Text ) : void
Text string �ı�ֵ
리턴 void

WriteText() 공개 메소드

write plain text, can choose write a white space automatic
public WriteText ( string Text, bool AutoAddWhitespace ) : void
Text string text
AutoAddWhitespace bool wirte a white space automatic
리턴 void

WriteUnicodeText() 공개 메소드

public WriteUnicodeText ( string text ) : void
text string
리턴 void