public CT_PivotCache AddNewPivotCache() { if (this.pivotCacheField == null) this.pivotCacheField = new List<CT_PivotCache>(); CT_PivotCache c = new CT_PivotCache(); this.pivotCacheField.Add(c); return c; }
public static CT_PivotCache Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_PivotCache ctObj = new CT_PivotCache(); ctObj.cacheId = XmlHelper.ReadUInt(node.Attributes["cacheId"]); ctObj.id = XmlHelper.ReadString(node.Attributes["id", PackageNamespaces.SCHEMA_RELATIONSHIPS]); return ctObj; }
public CT_PivotCache AddNewPivotCache() { if (this.pivotCacheField == null) { this.pivotCacheField = new List <CT_PivotCache>(); } CT_PivotCache c = new CT_PivotCache(); this.pivotCacheField.Add(c); return(c); }
public static CT_PivotCache Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_PivotCache ctObj = new CT_PivotCache(); ctObj.cacheId = XmlHelper.ReadUInt(node.Attributes["cacheId"]); ctObj.id = XmlHelper.ReadString(node.Attributes["id", PackageNamespaces.SCHEMA_RELATIONSHIPS]); return(ctObj); }
protected void ReadFrom(Stream is1) { try { //XmlOptions options = new XmlOptions(DEFAULT_XML_OPTIONS); ////Removing root element //options.LoadReplaceDocumentElement = (/*setter*/null); XmlDocument xmlDoc = ConvertStreamToXml(is1); ctPivotCache = CT_PivotCache.Parse(xmlDoc.DocumentElement, NamespaceManager); } catch (XmlException e) { throw new IOException(e.Message); } }
public static CT_PivotCaches Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_PivotCaches ctObj = new CT_PivotCaches(); ctObj.pivotCache = new List <CT_PivotCache>(); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "pivotCache") { ctObj.pivotCache.Add(CT_PivotCache.Parse(childNode, namespaceManager)); } } return(ctObj); }
public XSSFPivotCache(CT_PivotCache ctPivotCache) : base() { this.ctPivotCache = ctPivotCache; }
public XSSFPivotCache() : base() { ctPivotCache = new CT_PivotCache(); }