示例#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
 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
 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();
 }