/// <summary> /// Returns a raw accessor to an excel sheet allowing you to skip templated row access entirely. /// </summary> /// <param name="name">Name of the sheet to load</param> /// <param name="language">The requested language to load</param> /// <returns>A ExcelSheetImpl object, or null if the sheet name was not found.</returns> public ExcelSheetImpl GetSheetRaw(string name, Language language = Language.None) { // todo: duped code is a bit ass but zzz // todo: expose useful functions to ExcelSheetImpl like getrow(s) and so on // create new sheet var path = BuildExcelHeaderPath(name); var headerFile = _lumina.GetFile <ExcelHeaderFile>(path); if (headerFile == null) { return(null); } var newSheet = new ExcelSheetImpl(headerFile, name, language, _lumina); newSheet.GenerateFilePages(); return(newSheet); }
public RowParser(ExcelSheetImpl sheet, ExcelDataFile dataFile, uint row, uint subRow) : this(sheet, dataFile, row) { SeekToRow(row, subRow); }
public RowParser(ExcelSheetImpl sheet, ExcelDataFile dataFile) { _sheet = sheet; _dataFile = dataFile; }
public RowParser(ExcelSheetImpl sheet, ExcelDataFile dataFile, int row) : this(sheet, dataFile) { SeekToRow(row); }