예제 #1
0
 /**
  * Create a new SpreadsheetML manual layout.
  * @param layout a Spreadsheet ML layout that should be used as base.
  */
 public XSSFManualLayout(CT_Layout ctLayout)
 {
     InitLayout(ctLayout);
 }
예제 #2
0
파일: Chart.cs 프로젝트: runningwater/npoi
 public static CT_Layout Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_Layout ctObj = new CT_Layout();
     ctObj.extLst = new List<CT_Extension>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "manualLayout")
             ctObj.manualLayout = CT_ManualLayout.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "extLst")
             ctObj.extLst.Add(CT_Extension.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }
예제 #3
0
 private void InitLayout(CT_Layout ctLayout)
 {
     if (ctLayout.IsSetManualLayout())
     {
         this.layout = ctLayout.manualLayout;
     }
     else
     {
         this.layout = ctLayout.AddNewManualLayout();
     }
 }
예제 #4
0
파일: Chart.cs 프로젝트: runningwater/npoi
 public CT_Layout AddNewLayout()
 {
     this.layoutField = new CT_Layout();
     return this.layoutField;
 }
예제 #5
0
파일: Chart.cs 프로젝트: xiepeixing/npoi
 public CT_DispUnitsLbl()
 {
     this.txField = new CT_Tx();
     this.layoutField = new CT_Layout();
 }
예제 #6
0
파일: Chart.cs 프로젝트: xiepeixing/npoi
 public CT_Title()
 {
     this.extLstField = new List<CT_Extension>();
     this.overlayField = new CT_Boolean();
     this.layoutField = new CT_Layout();
     this.txField = new CT_Tx();
 }
예제 #7
0
파일: Chart.cs 프로젝트: xoposhiy/npoi
 public CT_TrendlineLbl()
 {
     this.extLstField = new List<CT_Extension>();
     this.numFmtField = new CT_NumFmt();
     this.txField = new CT_Tx();
     this.layoutField = new CT_Layout();
 }
예제 #8
0
파일: Chart.cs 프로젝트: xoposhiy/npoi
 public CT_PlotArea()
 {
     this.extLstField = new List<CT_Extension>();
     this.dTableField = new CT_DTable();
     this.items1Field = new List<object>();
     this.itemsField = new List<object>();
     this.layoutField = new CT_Layout();
 }