public static CT_Hyperlink Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_Hyperlink ctObj = new CT_Hyperlink(); ctObj.id = XmlHelper.ReadString(node.Attributes["id"]); ctObj.invalidUrl = XmlHelper.ReadString(node.Attributes["invalidUrl"]); ctObj.action = XmlHelper.ReadString(node.Attributes["action"]); ctObj.tgtFrame = XmlHelper.ReadString(node.Attributes["tgtFrame"]); ctObj.tooltip = XmlHelper.ReadString(node.Attributes["tooltip"]); ctObj.history = XmlHelper.ReadBool(node.Attributes["history"]); ctObj.highlightClick = XmlHelper.ReadBool(node.Attributes["highlightClick"]); ctObj.endSnd = XmlHelper.ReadBool(node.Attributes["endSnd"]); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "snd") ctObj.snd = CT_EmbeddedWAVAudioFile.Parse(childNode, namespaceManager); else if (childNode.LocalName == "extLst") ctObj.extLst = CT_OfficeArtExtensionList.Parse(childNode, namespaceManager); } return ctObj; }
public CT_TextCharacterProperties() { this.extLstField = new CT_OfficeArtExtensionList(); this.hlinkMouseOverField = new CT_Hyperlink(); this.hlinkClickField = new CT_Hyperlink(); this.symField = new CT_TextFont(); this.csField = new CT_TextFont(); this.eaField = new CT_TextFont(); this.latinField = new CT_TextFont(); this.uFillField = new CT_TextUnderlineFillGroupWrapper(); this.uFillTxField = new CT_TextUnderlineFillFollowText(); this.uLnField = new CT_LineProperties(); this.uLnTxField = new CT_TextUnderlineLineFollowText(); this.highlightField = new CT_Color(); this.effectDagField = new CT_EffectContainer(); this.effectLstField = new CT_EffectList(); this.grpFillField = new CT_GroupFillProperties(); this.pattFillField = new CT_PatternFillProperties(); this.blipFillField = new CT_BlipFillProperties(); this.gradFillField = new CT_GradientFillProperties(); this.solidFillField = new CT_SolidColorFillProperties(); this.noFillField = new CT_NoFillProperties(); this.lnField = new CT_LineProperties(); this.dirtyField = true; this.errField = false; this.smtCleanField = true; this.smtIdField = ((uint)(0)); }