public static CT_SheetFormatPr Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_SheetFormatPr ctObj = new CT_SheetFormatPr(); ctObj.baseColWidth = XmlHelper.ReadUInt(node.Attributes["baseColWidth"]); ctObj.defaultColWidth = XmlHelper.ReadDouble(node.Attributes["defaultColWidth"]); ctObj.defaultRowHeight = XmlHelper.ReadDouble(node.Attributes["defaultRowHeight"]); ctObj.customHeight = XmlHelper.ReadBool(node.Attributes["customHeight"]); ctObj.zeroHeight = XmlHelper.ReadBool(node.Attributes["zeroHeight"]); ctObj.thickTop = XmlHelper.ReadBool(node.Attributes["thickTop"]); ctObj.outlineLevelRow = XmlHelper.ReadByte(node.Attributes["outlineLevelRow"]); ctObj.outlineLevelCol = XmlHelper.ReadByte(node.Attributes["outlineLevelCol"]); ctObj.thickBottom = XmlHelper.ReadBool(node.Attributes["thickBottom"]); return ctObj; }
public CT_SheetFormatPr AddNewSheetFormatPr() { this.sheetFormatPrField = new CT_SheetFormatPr(); return sheetFormatPrField; }
public CT_Macrosheet() { this.extLstField = new CT_ExtensionList(); this.oleObjectsField = new List<CT_OleObject>(); this.pictureField = new CT_SheetBackgroundPicture(); this.legacyDrawingHFField = new CT_LegacyDrawing(); this.legacyDrawingField = new CT_LegacyDrawing(); this.drawingField = new CT_Drawing(); this.customPropertiesField = new List<CT_CustomProperty>(); this.colBreaksField = new CT_PageBreak(); this.rowBreaksField = new CT_PageBreak(); this.headerFooterField = new CT_HeaderFooter(); this.pageSetupField = new CT_PageSetup(); this.pageMarginsField = new CT_PageMargins(); this.printOptionsField = new CT_PrintOptions(); this.conditionalFormattingField = new List<CT_ConditionalFormatting>(); this.phoneticPrField = new CT_PhoneticPr(); this.customSheetViewsField = new List<CT_CustomSheetView>(); this.dataConsolidateField = new CT_DataConsolidate(); this.sortStateField = new CT_SortState(); this.autoFilterField = new CT_AutoFilter(); this.sheetProtectionField = new CT_SheetProtection(); this.sheetDataField = new List<CT_Row>(); this.colsField = new List<CT_Col>(); this.sheetFormatPrField = new CT_SheetFormatPr(); this.sheetViewsField = new CT_SheetViews(); this.dimensionField = new CT_SheetDimension(); this.sheetPrField = new CT_SheetPr(); }