public static void getOOXML( WorkBookHandle bk, String path ) throws IOException
	{
		try
		{
			if( !OOXMLAdapter.hasMacros( bk ) )
			{
				path = StringTool.replaceExtension( path, ".xlsx" );
			}
			else    // it's a macro-enabled workbook
			{
				path = StringTool.replaceExtension( path, ".xlsm" );
			}

			java.io.File fout = new java.io.File( path );
			File dirs = fout.getParentFile();
			if( (dirs != null) && !dirs.exists() )
			{
				dirs.mkdirs();
			}
			OOXMLWriter oe = new OOXMLWriter();
			oe.getOOXML( bk, new FileOutputStream( path ) );
		}
		catch( Exception e )
		{
			throw new IOException( "Error parsing OOXML file: " + e.toString() );
		}
	}