Пример #1
0
 public CT_PageBreak AddNewColBreaks()
 {
     this.colBreaksField = new CT_PageBreak();
     return this.colBreaksField;
 }
Пример #2
0
 public static CT_PageBreak Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_PageBreak ctObj = new CT_PageBreak();
     ctObj.count = XmlHelper.ReadUInt(node.Attributes["count"]);
     ctObj.manualBreakCount = XmlHelper.ReadUInt(node.Attributes["manualBreakCount"]);
     ctObj.brk = new List<CT_Break>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "brk")
             ctObj.brk.Add(CT_Break.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }
Пример #3
0
 public CT_PageBreak AddNewRowBreaks()
 {
     this.rowBreaksField = new CT_PageBreak();
     return this.rowBreaksField;
 }
Пример #4
0
 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();
 }