In the stunning decision , which came in the aftermath of a bitter and very public court battle , Ms. Matos was told that she would receive none of the proceeds from Mr. McGreevey 's book , " The Confession , " which described his version of events that led to his resignation in August 2004 .