public CT_MailMerge() { this.odsoField = new CT_Odso(); this.checkErrorsField = new CT_DecimalNumber(); this.activeRecordField = new CT_DecimalNumber(); this.viewMergedDataField = new CT_OnOff(); this.mailAsAttachmentField = new CT_OnOff(); this.mailSubjectField = new CT_String(); this.addressFieldNameField = new CT_String(); this.destinationField = new CT_MailMergeDest(); this.doNotSuppressBlankLinesField = new CT_OnOff(); this.headerSourceField = new CT_Rel(); this.dataSourceField = new CT_Rel(); this.queryField = new CT_String(); this.connectStringField = new CT_String(); this.dataTypeField = new CT_MailMergeDataType(); this.linkToQueryField = new CT_OnOff(); this.mainDocumentTypeField = new CT_MailMergeDocType(); }
public static CT_MailMergeDest Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_MailMergeDest ctObj = new CT_MailMergeDest(); if (node.Attributes["w:val"] != null) ctObj.val = (ST_MailMergeDest)Enum.Parse(typeof(ST_MailMergeDest), node.Attributes["w:val"].Value); return ctObj; }