Esempio n. 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);
 }
Esempio n. 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;
 }
Esempio n. 3
0
 private void InitLayout(CT_Layout ctLayout)
 {
     if (ctLayout.IsSetManualLayout())
     {
         this.layout = ctLayout.manualLayout;
     }
     else
     {
         this.layout = ctLayout.AddNewManualLayout();
     }
 }
Esempio n. 4
0
 public CT_Layout AddNewLayout()
 {
     this.layoutField = new CT_Layout();
     return this.layoutField;
 }
Esempio n. 5
0
 public CT_DispUnitsLbl()
 {
     this.txField = new CT_Tx();
     this.layoutField = new CT_Layout();
 }
Esempio n. 6
0
 public CT_Title()
 {
     this.extLstField = new List<CT_Extension>();
     this.overlayField = new CT_Boolean();
     this.layoutField = new CT_Layout();
     this.txField = new CT_Tx();
 }
Esempio n. 7
0
 public CT_TrendlineLbl()
 {
     this.extLstField = new List<CT_Extension>();
     this.numFmtField = new CT_NumFmt();
     this.txField = new CT_Tx();
     this.layoutField = new CT_Layout();
 }
Esempio n. 8
0
 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();
 }