public static CT_Location Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_Location ctObj = new CT_Location(); ctObj.@ref = XmlHelper.ReadString(node.Attributes["ref"]); if (node.Attributes["firstHeaderRow"] != null) ctObj.firstHeaderRow = XmlHelper.ReadUInt(node.Attributes["firstHeaderRow"]); if (node.Attributes["firstDataRow"] != null) ctObj.firstDataRow = XmlHelper.ReadUInt(node.Attributes["firstDataRow"]); if (node.Attributes["firstDataCol"] != null) ctObj.firstDataCol = XmlHelper.ReadUInt(node.Attributes["firstDataCol"]); if (node.Attributes["rowPageCount"] != null) ctObj.rowPageCount = XmlHelper.ReadUInt(node.Attributes["rowPageCount"]); if (node.Attributes["colPageCount"] != null) ctObj.colPageCount = XmlHelper.ReadUInt(node.Attributes["colPageCount"]); return ctObj; }
public CT_Location AddNewLocation() { this.locationField = new CT_Location(); return this.locationField; }