public LinkTable(int numberOfSheets, WorkbookRecordList workbookRecordList) {_workbookRecordList = workbookRecordList;_definedNames = new ArrayList<>();_externalBookBlocks = new ExternalBookBlock[]{new ExternalBookBlock(numberOfSheets),};_externSheetRecord = new ExternSheetRecord();_recordCount = 2;SupBookRecord supbook = _externalBookBlocks[0].getExternalBookRecord();int idx = findFirstRecordLocBySid(CountryRecord.sid);if (idx < 0) {throw new RuntimeException("CountryRecord not found");}_workbookRecordList.add(idx + 1, _externSheetRecord);_workbookRecordList.add(idx + 1, supbook);}

public LinkTable(int numberOfSheets, WorkbookRecordList workbookRecordList){_workbookRecordList = workbookRecordList;_definedNames = new List<NameRecord>();_externalBookBlocks = new ExternalBookBlock[] {new ExternalBookBlock(numberOfSheets),};_externSheetRecord = new ExternSheetRecord();_recordCount = 2;SupBookRecord supbook = _externalBookBlocks[0].GetExternalBookRecord();int idx = FindFirstRecordLocBySid(CountryRecord.sid);if (idx < 0){throw new Exception("CountryRecord not found");}_workbookRecordList.Add(idx + 1, _externSheetRecord);_workbookRecordList.Add(idx + 1, supbook);}
