public static CT_PrintOptions Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_PrintOptions ctObj = new CT_PrintOptions(); ctObj.horizontalCentered = XmlHelper.ReadBool(node.Attributes["horizontalCentered"]); ctObj.verticalCentered = XmlHelper.ReadBool(node.Attributes["verticalCentered"]); ctObj.headings = XmlHelper.ReadBool(node.Attributes["headings"]); ctObj.gridLines = XmlHelper.ReadBool(node.Attributes["gridLines"]); ctObj.gridLinesSet = XmlHelper.ReadBool(node.Attributes["gridLinesSet"]); return ctObj; }
public CT_PrintOptions AddNewPrintOptions() { this.printOptionsField = new CT_PrintOptions(); return this.printOptionsField; }
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(); }