// Attempt to read workbook from file using a supported // format; may return null. public Workbook Read(String filename) { IOFormat format = FindFormat(filename); // If we found a format, try it return(format?.Read(filename)); }
private void AddFormat(IOFormat format, bool def) { formats.Add(format); if (def) { defaultformat = format; } }