コード例 #1
0
ファイル: Settings.cs プロジェクト: xiepeixing/npoi
 public CT_Odso()
 {
     this.recipientDataField = new List<CT_Rel>();
     this.fieldMapDataField = new List<CT_OdsoFieldMapData>();
     this.fHdrField = new CT_OnOff();
     this.typeField = new CT_MailMergeSourceType();
     this.colDelimField = new CT_DecimalNumber();
     this.srcField = new CT_Rel();
     this.tableField = new CT_String();
     this.udlField = new CT_String();
 }
コード例 #2
0
ファイル: Settings.cs プロジェクト: BeiMeng/GitApplication
 public static CT_MailMergeSourceType Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_MailMergeSourceType ctObj = new CT_MailMergeSourceType();
     if (node.Attributes["w:val"] != null)
         ctObj.val = (ST_MailMergeSourceType)Enum.Parse(typeof(ST_MailMergeSourceType), node.Attributes["w:val"].Value);
     return ctObj;
 }