private void parseSheetIdForSheetName(string sheetId, int typeIdx, Sheet sheet, SheetPartsDescriptor sd) { List <SheetPartsDescriptor.PartIndex> partIndexList = sd.SheetNamePartIndicies; sheet.AddSheetNameParts(parseSheetIdForSheetParts(sheetId, partIndexList)); }
private Sheet parseSheetId(string sheetId, int typeIdx) { bool reference = SheetSystemManager.SheetTypeManager.SheetTypes[typeIdx] .IsForRefernce; Sheet sheet = new Sheet(sheetId, typeIdx, reference); SheetPartsDescriptor sd = SheetSystemManager.SheetTypeManager .SheetTypes[typeIdx].SheetPartsDescriptor; parseSheetIdForSheetNumber(sheetId, typeIdx, sheet, sd); parseSheetIdForSheetName(sheetId, typeIdx, sheet, sd); return(sheet); }