コード例 #1
0
 public ExcelSheetInfo(ExcelSheetType sheetType, string objectName)
 {
     this.ignoreChangeEvent = false;
     this.sheetType         = sheetType;
     this.excelsheet        = excelsheet;
     this.objectName        = objectName;
     this.language          = GlobalApplicationData.Instance.currentLanguage;
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 public AttributeExcelSheetsInfo(ExcelSheetType sheetType, Worksheet excelsheet, EntityMetadata entityMetadata, string orgPrefix)
     : base(sheetType, excelsheet, entityMetadata.LogicalName)
 {
     this.entityMedata = entityMedata;
     this.orgPrefix    = orgPrefix;
 }
コード例 #4
0
 public AttributeExcelSheetsInfo(ExcelSheetType sheetType, Worksheet excelsheet, EntityMetadata entityMetadata)
     : base(sheetType, excelsheet, entityMetadata.LogicalName)
 {
     this.entityMedata = entityMetadata;
 }
コード例 #5
0
 public EntityExcelSheetsInfo(ExcelSheetType sheetType, EntityMetadata[] entitiesMetadata, string objectname)
     : base(sheetType, objectname)
 {
     this.entitiesMetadata = entitiesMetadata;
 }
コード例 #6
0
 public OptionSetExcelSheetsInfo(ExcelSheetType sheetType, OptionSetMetadata optionData, AttributeMetadata parentAttribute)
     : base(sheetType, optionData.MetadataId.ToString())
 {
     this.optionData      = optionData;
     this.parentAttribute = parentAttribute;
 }