public XlsWorksheet(XlsWorkbook workbook, XlsBiffBoundSheet refSheet, Stream stream) { Workbook = workbook; Stream = stream; IsDate1904 = workbook.IsDate1904; Encoding = workbook.Encoding; RowOffsetMap = new Dictionary <int, XlsRowOffset>(); DefaultRowHeight = 255; // 12.75 points Name = refSheet.GetSheetName(workbook.Encoding); DataOffset = refSheet.StartOffset; VisibleState = refSheet.VisibleState switch { XlsBiffBoundSheet.SheetVisibility.Hidden => "hidden", XlsBiffBoundSheet.SheetVisibility.VeryHidden => "veryhidden", _ => "visible", }; ReadWorksheetGlobals(); }
public XlsWorksheet(int index, XlsBiffBoundSheet refSheet) { m_Index = index; m_Name = refSheet.SheetName; m_dataOffset = refSheet.StartOffset; }