Пример #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
 public CT_DispUnitsLbl()
 {
     this.txField = new CT_Tx();
     this.layoutField = new CT_Layout();
 }
Пример #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();
 }
Пример #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();
 }
Пример #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();
 }