case FORMAT_XLTM:
try {
if (this.file!=null)
OOXMLAdapter.refreshPassThroughFiles(this);
OOXMLWriter adapter = new OOXMLWriter();
adapter.setFormat( format );
adapter.getOOXML( this, dest );
} catch (IOException e) {
throw e;
} catch (Exception e) {
//TODO: OOXMLAdapter only throws IOException, change its throws
throw new WorkBookException( "error writing workbook",