Example #1
0
 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;
 }
Example #2
0
 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;
 }
Example #3
0
        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);
        }
Example #4
0
        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);
        }
Example #5
0
 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);
     }
 }
Example #6
0
        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);
        }
Example #7
0
 public XSSFPivotCache(CT_PivotCache ctPivotCache)
     : base()
 {
     this.ctPivotCache = ctPivotCache;
 }
Example #8
0
 public XSSFPivotCache()
     : base()
 {
     ctPivotCache = new CT_PivotCache();
 }