C# 클래스 Framework.Interface.Common.WinWordControlEx

파일 보기 프로젝트 열기: callme119/civil

공개 프로퍼티들

프로퍼티 타입 설명
copyPath string
randomPath string
showPath string
tempPath string

공개 메소드들

메소드 설명
AddDoc ( string doc ) : void
AddRtf ( string rtf ) : void
CreateShowFile ( ) : void
CreateTempFile ( byte buffByte, string path ) : void
DeleteText ( string startText, string endText ) : bool

删除word文档中相应的内容

DeleteText ( string startText, string endText, string path ) : bool

删除word文档中相应的内容

GetWordStream ( string path ) : byte[]
GetWordString ( string path ) : string
InsertBT ( ) : void
InsertChart ( System dtsheet ) : void
InsertFile ( string path ) : void
InsertPic ( string text, string path ) : void
InsertTable ( int tableNum, int startRow, System array ) : void
InsertTitle ( string title, string level ) : void
LoadWord ( string path ) : void
MoveToTop ( ) : void
Replace ( byte buffByte, string strOldText ) : bool
Replace ( string strOldText, string strNewText ) : bool
Replace ( string strOldText, string strNewText, string path ) : bool
SaveWord ( string path ) : void
SetWordStream ( byte buffByte, string path ) : void
SetWordString ( string str, string path ) : void
WinWordControlEx ( ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

清理所有正在使用的资源。

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

设计器支持所需的方法 - 不要 使用代码编辑器修改此方法的内容。

메소드 상세

AddDoc() 공개 메소드

public AddDoc ( string doc ) : void
doc string
리턴 void

AddRtf() 공개 메소드

public AddRtf ( string rtf ) : void
rtf string
리턴 void

CreateShowFile() 공개 메소드

public CreateShowFile ( ) : void
리턴 void

CreateTempFile() 공개 메소드

public CreateTempFile ( byte buffByte, string path ) : void
buffByte byte
path string
리턴 void

DeleteText() 공개 메소드

删除word文档中相应的内容
public DeleteText ( string startText, string endText ) : bool
startText string 起始字符
endText string 终止字符
리턴 bool

DeleteText() 공개 메소드

删除word文档中相应的内容
public DeleteText ( string startText, string endText, string path ) : bool
startText string 起始字符
endText string 终止字符
path string 文档路径
리턴 bool

Dispose() 보호된 메소드

清理所有正在使用的资源。
protected Dispose ( bool disposing ) : void
disposing bool 如果应释放托管资源,为 true;否则为 false。
리턴 void

GetWordStream() 공개 메소드

public GetWordStream ( string path ) : byte[]
path string
리턴 byte[]

GetWordString() 공개 메소드

public GetWordString ( string path ) : string
path string
리턴 string

InsertBT() 공개 메소드

public InsertBT ( ) : void
리턴 void

InsertChart() 공개 메소드

public InsertChart ( System dtsheet ) : void
dtsheet System
리턴 void

InsertFile() 공개 메소드

public InsertFile ( string path ) : void
path string
리턴 void

InsertPic() 공개 메소드

public InsertPic ( string text, string path ) : void
text string
path string
리턴 void

InsertTable() 공개 메소드

public InsertTable ( int tableNum, int startRow, System array ) : void
tableNum int
startRow int
array System
리턴 void

InsertTitle() 공개 메소드

public InsertTitle ( string title, string level ) : void
title string
level string
리턴 void

LoadWord() 공개 메소드

public LoadWord ( string path ) : void
path string
리턴 void

MoveToTop() 공개 메소드

public MoveToTop ( ) : void
리턴 void

Replace() 공개 메소드

public Replace ( byte buffByte, string strOldText ) : bool
buffByte byte
strOldText string
리턴 bool

Replace() 공개 메소드

public Replace ( string strOldText, string strNewText ) : bool
strOldText string
strNewText string
리턴 bool

Replace() 공개 메소드

public Replace ( string strOldText, string strNewText, string path ) : bool
strOldText string
strNewText string
path string
리턴 bool

SaveWord() 공개 메소드

public SaveWord ( string path ) : void
path string
리턴 void

SetWordStream() 공개 메소드

public SetWordStream ( byte buffByte, string path ) : void
buffByte byte
path string
리턴 void

SetWordString() 공개 메소드

public SetWordString ( string str, string path ) : void
str string
path string
리턴 void

WinWordControlEx() 공개 메소드

public WinWordControlEx ( ) : System
리턴 System

프로퍼티 상세

copyPath 공개적으로 정적으로 프로퍼티

public static string copyPath
리턴 string

randomPath 공개적으로 정적으로 프로퍼티

public static string randomPath
리턴 string

showPath 공개적으로 정적으로 프로퍼티

public static string showPath
리턴 string

tempPath 공개적으로 정적으로 프로퍼티

public static string tempPath
리턴 string