public void TestAlterExistingAF()
	{
		// file has 7 columns, 2 of which have autofilters set
		book = new WorkBookHandle( wd + "testAutoFilter-test1.xls" );
		try
		{
			sheet = book.getWorkSheet( 0 );
			AutoFilterHandle[] afs = sheet.getAutoFilterHandles();    // get handle to existing AutoFilters
			// initial asserts
			// should be two afs on sheet 0 (AutoFilter Data):
			if( (afs.length != 2) ||
					(!afs[0].toString().equals( "=A-M" )) ||
					(!afs[1].toString().equals( ">2.98" )) )
			{
				log.error( "Incorrect Input File" );
			}
			// alter 1st condition
			afs[0].setTop10( 7, true, true ); // set to top 50%
			// alter second af condition
			// Test setting >, >=, <, <= to a value (custom)
			afs[1].setVal( new Double( 2.99 ), ">=" );
			afs[1].setVal2( new Double( 5.99 ), "<=", true );
			// write out changes
			sheet.evaluateAutoFilters();
			book.write( od + "TestAlterExistingAF-OUT.xls" );
		}
		catch( Exception e )
		{
			log.error( e.toString() );
		}
	}