Exemple #1
0
        private void parseSheetIdForSheetName(string sheetId, int typeIdx, Sheet sheet,
                                              SheetPartsDescriptor sd)
        {
            List <SheetPartsDescriptor.PartIndex> partIndexList = sd.SheetNamePartIndicies;

            sheet.AddSheetNameParts(parseSheetIdForSheetParts(sheetId, partIndexList));
        }
Exemple #2
0
        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);
        }