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