public CT_MergeCell AddNewMergeCell() { CT_MergeCell mergecell = new CT_MergeCell(); mergeCell.Add(mergecell); return(mergecell); }
public static CT_MergeCell Parse(XElement node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_MergeCell ctObj = new CT_MergeCell(); ctObj.@ref = XmlHelper.ReadString(node.Attribute("ref")); return(ctObj); }
public static CT_MergeCells Parse(XElement node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_MergeCells ctObj = new CT_MergeCells(); ctObj.count = XmlHelper.ReadUInt(node.Attribute("count")); ctObj.mergeCell = new List <CT_MergeCell>(); foreach (XElement childNode in node.ChildElements()) { if (childNode.Name.LocalName == "mergeCell") { ctObj.mergeCell.Add(CT_MergeCell.Parse(childNode, namespaceManager)); } } return(ctObj); }