Example #1
0
        // 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));
        }
Example #2
0
 private void AddFormat(IOFormat format, bool def)
 {
     formats.Add(format);
     if (def)
     {
         defaultformat = format;
     }
 }
Example #3
0
		private void AddFormat(IOFormat format, bool def) {
			formats.Add(format);
			if (def) {
				defaultformat = format;
			}
		}