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