public CT_TabStop AddNewTab() { CT_TabStop s = new CT_TabStop(); this.tabField.Add(s); return(s); }
public static CT_TabStop Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_TabStop ctObj = new CT_TabStop(); if (node.Attributes["w:val"] != null) { ctObj.val = (ST_TabJc)Enum.Parse(typeof(ST_TabJc), node.Attributes["w:val"].Value); } if (node.Attributes["w:leader"] != null) { ctObj.leader = (ST_TabTlc)Enum.Parse(typeof(ST_TabTlc), node.Attributes["w:leader"].Value); } ctObj.pos = XmlHelper.ReadString(node.Attributes["w:pos"]); return(ctObj); }
public CT_TabStop AddNewTab() { CT_TabStop s = new CT_TabStop(); this.tabField.Add(s); return s; }
public static CT_TabStop Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_TabStop ctObj = new CT_TabStop(); if (node.Attributes["w:val"] != null) ctObj.val = (ST_TabJc)Enum.Parse(typeof(ST_TabJc), node.Attributes["w:val"].Value); if (node.Attributes["w:leader"] != null) ctObj.leader = (ST_TabTlc)Enum.Parse(typeof(ST_TabTlc), node.Attributes["w:leader"].Value); ctObj.pos = XmlHelper.ReadString(node.Attributes["w:pos"]); return ctObj; }