コード例 #1
0
 protected CT_SerTx GetCTSerTx()
 {
     CT_SerTx tx = new CT_SerTx();
     switch (titleType)
     {
         case TitleType.CellReference:
             tx.AddNewStrRef().f = titleRef.FormatAsString();
             return tx;
         case TitleType.String:
             tx.v =  titleValue;
             return tx;
         default:
             throw new InvalidOperationException("Unkown title type: " + titleType);
     }
 }
コード例 #2
0
ファイル: Chart.cs プロジェクト: runningwater/npoi
 public static CT_SerTx Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_SerTx ctObj = new CT_SerTx();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "strRef")
             ctObj.strRef = CT_StrRef.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "v")
             ctObj.v = childNode.InnerText;
     }
     return ctObj;
 }
コード例 #3
0
ファイル: Chart.cs プロジェクト: xiepeixing/npoi
 public CT_PieSer()
 {
     this.extLstField = new List<CT_Extension>();
     this.valField = new CT_NumDataSource();
     this.catField = new CT_AxDataSource();
     this.dLblsField = new CT_DLbls();
     this.dPtField = new List<CT_DPt>();
     this.explosionField = new CT_UnsignedInt();
     this.txField = new CT_SerTx();
     this.orderField = new CT_UnsignedInt();
     this.idxField = new CT_UnsignedInt();
 }
コード例 #4
0
ファイル: Chart.cs プロジェクト: xiepeixing/npoi
 public CT_SurfaceSer()
 {
     this.extLstField = new List<CT_Extension>();
     this.valField = new CT_NumDataSource();
     this.catField = new CT_AxDataSource();
     this.txField = new CT_SerTx();
     this.orderField = new CT_UnsignedInt();
     this.idxField = new CT_UnsignedInt();
 }
コード例 #5
0
ファイル: Chart.cs プロジェクト: xoposhiy/npoi
 public CT_LineSer()
 {
     this.extLstField = new List<CT_Extension>();
     this.smoothField = new CT_Boolean();
     this.valField = new CT_NumDataSource();
     this.catField = new CT_AxDataSource();
     this.errBarsField = new CT_ErrBars();
     this.trendlineField = new List<CT_Trendline>();
     this.dLblsField = new CT_DLbls();
     this.dPtField = new List<CT_DPt>();
     this.markerField = new CT_Marker();
     this.txField = new CT_SerTx();
     this.orderField = new CT_UnsignedInt();
     this.idxField = new CT_UnsignedInt();
 }
コード例 #6
0
ファイル: Chart.cs プロジェクト: xoposhiy/npoi
 public CT_BarSer()
 {
     this.extLstField = new List<CT_Extension>();
     this.shapeField = new CT_Shape();
     this.valField = new CT_NumDataSource();
     this.catField = new CT_AxDataSource();
     this.errBarsField = new CT_ErrBars();
     this.trendlineField = new List<CT_Trendline>();
     this.dLblsField = new CT_DLbls();
     this.dPtField = new List<CT_DPt>();
     this.pictureOptionsField = new CT_PictureOptions();
     this.invertIfNegativeField = new CT_Boolean();
     this.txField = new CT_SerTx();
     this.orderField = new CT_UnsignedInt();
     this.idxField = new CT_UnsignedInt();
 }
コード例 #7
0
ファイル: Chart.cs プロジェクト: xoposhiy/npoi
 public CT_BubbleSer()
 {
     this.extLstField = new List<CT_Extension>();
     this.bubble3DField = new CT_Boolean();
     this.bubbleSizeField = new CT_NumDataSource();
     this.yValField = new CT_NumDataSource();
     this.xValField = new CT_AxDataSource();
     this.errBarsField = new List<CT_ErrBars>();
     this.trendlineField = new List<CT_Trendline>();
     this.dLblsField = new CT_DLbls();
     this.dPtField = new List<CT_DPt>();
     this.invertIfNegativeField = new CT_Boolean();
     this.txField = new CT_SerTx();
     this.orderField = new CT_UnsignedInt();
     this.idxField = new CT_UnsignedInt();
 }
コード例 #8
0
ファイル: Chart.cs プロジェクト: xoposhiy/npoi
 public CT_AreaSer()
 {
     this.extLstField = new List<CT_Extension>();
     this.valField = new CT_NumDataSource();
     this.catField = new CT_AxDataSource();
     this.errBarsField = new List<CT_ErrBars>();
     this.trendlineField = new List<CT_Trendline>();
     this.dLblsField = new CT_DLbls();
     this.dPtField = new List<CT_DPt>();
     this.pictureOptionsField = new CT_PictureOptions();
     this.txField = new CT_SerTx();
     this.orderField = new CT_UnsignedInt();
     this.idxField = new CT_UnsignedInt();
 }