namespace Patent.Analyse.ClIEnt.Classes
{
public class WordOperator
{
#region 私有變量
private const int NORMAL = 1;
private const int ERROR = 0;
private string m_FileName = String.Empty;
private Microsoft.Office.Interop.Word.Application m_WordApplication = null;
private object m_Missing = System.Reflection.Missing.Value;
private Document m_Doc = null;
private object m_Readonly = false; // 文檔是否為只讀
private bool m_WordApplicationEnabled = false; // 文檔應用程序是否可用
private string m_SaveAsFileName = String.Empty;
#endregion
#region 屬性
/// <summary>
/// Word 文檔名稱
/// </summary>
public string FileName
{
get { return this.m_FileName; }
set { this.m_FileName = value; }
}
/// <summary>
/// Word 文檔名稱
/// </summary>
public string SaveAsFileName
&n