public ExcelSheetInfo(ExcelSheetType sheetType, string objectName) { this.ignoreChangeEvent = false; this.sheetType = sheetType; this.excelsheet = excelsheet; this.objectName = objectName; this.language = GlobalApplicationData.Instance.currentLanguage; }
public void AddSheet(string sheetName, byte hiddenState, ExcelSheetType sheetType) { if (sheetName == null) { throw new ArgumentNullException("sheetName"); } ExcelWorksheet worksheet = new ExcelWorksheet(sheetName, 0x10000, 0x100) { IsVisible = hiddenState == 0 }; this._workbook.Worksheets.Add(worksheet); }
public AttributeExcelSheetsInfo(ExcelSheetType sheetType, Worksheet excelsheet, EntityMetadata entityMetadata, string orgPrefix) : base(sheetType, excelsheet, entityMetadata.LogicalName) { this.entityMedata = entityMedata; this.orgPrefix = orgPrefix; }
public AttributeExcelSheetsInfo(ExcelSheetType sheetType, Worksheet excelsheet, EntityMetadata entityMetadata) : base(sheetType, excelsheet, entityMetadata.LogicalName) { this.entityMedata = entityMetadata; }
public EntityExcelSheetsInfo(ExcelSheetType sheetType, EntityMetadata[] entitiesMetadata, string objectname) : base(sheetType, objectname) { this.entitiesMetadata = entitiesMetadata; }
public OptionSetExcelSheetsInfo(ExcelSheetType sheetType, OptionSetMetadata optionData, AttributeMetadata parentAttribute) : base(sheetType, optionData.MetadataId.ToString()) { this.optionData = optionData; this.parentAttribute = parentAttribute; }