Exemplo n.º 1
0
 public XMLCellController(CT_Cell cell, XMLWorksheetModel sheet, PartManager manager)
 {
     _cell     = cell;
     _workbook = (XMLWorkbookModel)sheet.Workbook;
     _sheet    = sheet;
     _manager  = manager;
 }
Exemplo n.º 2
0
 public XMLRowModel(XMLStreamsheetModel sheet, PartManager manager, int rowNumber)
 {
     _worksheetModel = sheet;
     _manager        = manager;
     _row            = new CT_Row();
     _row.C          = new List <CT_Cell>();
     RowNumber       = rowNumber;
     Init();
 }
 public XMLPageSetupModel(CT_Worksheet sheet, XMLWorksheetModel sheetModel)
 {
     if (sheet == null || sheetModel == null)
     {
         throw new FatalException();
     }
     _sheet      = sheet;
     _sheetModel = sheetModel;
     _interface  = new PageSetup(this);
     if (_sheet.PageMargins == null)
     {
         SetDefaultMargins();
     }
     if (_sheet.PageSetup == null)
     {
         SetDefaultPageSetup();
     }
     SetupUseZoom();
 }
Exemplo n.º 4
0
 public XMLCellModel(XMLWorksheetModel sheet, PartManager manager, CT_Cell cell)
 {
     _cell       = cell;
     _controller = new XMLCellController(cell, sheet, manager);
     FixCellValue();
 }