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