예제 #1
0
        internal void ReadChart(string relId, TFlxChart Chart)
        {
            DataStream.SelectFromCurrentPartAndPush(relId, TOpenXmlManager.ChartNamespace, false);

            while (DataStream.NextTag())
            {
                switch (DataStream.RecordName())
                {
                case "chartSpace":
                    ReadChartSpace(Chart);
                    break;

                default:     //shouldn't happen
                    DataStream.GetXml();
                    break;
                }
            }

            DataStream.PopPart();
        }
예제 #2
0
        internal void ReadPivotCache(TOpenXmlReader DataStream, string relId)
        {
            DataStream.SelectFromCurrentPartAndPush(relId, TOpenXmlManager.MainNamespace, false);

            while (DataStream.NextTag())
            {
                switch (DataStream.RecordName())
                {
                case "pivotCacheDefinition":
                    ReadPivotCacheDefinition(DataStream);
                    break;

                default:     //shouldn't happen
                    DataStream.GetXml();
                    break;
                }
            }

            DataStream.PopPart();
        }