add missing \resource
introduce inline enum SpreadsheetType