C# Class Framework.Interface.Common.WinWordControlEx

Afficher le fichier Open project: callme119/civil

Méthodes publiques

Свойство Type Description
copyPath string
randomPath string
showPath string
tempPath string

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

Method Details

AddDoc() public méthode

public AddDoc ( string doc ) : void
doc string
Résultat void

AddRtf() public méthode

public AddRtf ( string rtf ) : void
rtf string
Résultat void

CreateShowFile() public méthode

public CreateShowFile ( ) : void
Résultat void

CreateTempFile() public méthode

public CreateTempFile ( byte buffByte, string path ) : void
buffByte byte
path string
Résultat void

DeleteText() public méthode

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

DeleteText() public méthode

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

Dispose() protected méthode

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

GetWordStream() public méthode

public GetWordStream ( string path ) : byte[]
path string
Résultat byte[]

GetWordString() public méthode

public GetWordString ( string path ) : string
path string
Résultat string

InsertBT() public méthode

public InsertBT ( ) : void
Résultat void

InsertChart() public méthode

public InsertChart ( System dtsheet ) : void
dtsheet System
Résultat void

InsertFile() public méthode

public InsertFile ( string path ) : void
path string
Résultat void

InsertPic() public méthode

public InsertPic ( string text, string path ) : void
text string
path string
Résultat void

InsertTable() public méthode

public InsertTable ( int tableNum, int startRow, System array ) : void
tableNum int
startRow int
array System
Résultat void

InsertTitle() public méthode

public InsertTitle ( string title, string level ) : void
title string
level string
Résultat void

LoadWord() public méthode

public LoadWord ( string path ) : void
path string
Résultat void

MoveToTop() public méthode

public MoveToTop ( ) : void
Résultat void

Replace() public méthode

public Replace ( byte buffByte, string strOldText ) : bool
buffByte byte
strOldText string
Résultat bool

Replace() public méthode

public Replace ( string strOldText, string strNewText ) : bool
strOldText string
strNewText string
Résultat bool

Replace() public méthode

public Replace ( string strOldText, string strNewText, string path ) : bool
strOldText string
strNewText string
path string
Résultat bool

SaveWord() public méthode

public SaveWord ( string path ) : void
path string
Résultat void

SetWordStream() public méthode

public SetWordStream ( byte buffByte, string path ) : void
buffByte byte
path string
Résultat void

SetWordString() public méthode

public SetWordString ( string str, string path ) : void
str string
path string
Résultat void

WinWordControlEx() public méthode

public WinWordControlEx ( ) : System
Résultat System

Property Details

copyPath public_oe static_oe property

public static string copyPath
Résultat string

randomPath public_oe static_oe property

public static string randomPath
Résultat string

showPath public_oe static_oe property

public static string showPath
Résultat string

tempPath public_oe static_oe property

public static string tempPath
Résultat string