The rights to O.J. Simpson's book, "If I Did It," will be auctioned off April 17.

The book, in which Simpson explains how he might have committed the killings of his ex-wife, Nicole Brown Simpson, and her friend Ron Goldman, has been the subject of a legal battle between the former NFL star and Goldman's family.

The book and companion TV interview were never released amid public outrage.

Notice of the auction to be held by the Sacramento County Sheriff's Department has been sent to publishers, Hollywood studios and talent agencies, Goldman family attorney David Cook said.

It's unknown who will bid on the rights, but Cook said the Goldmans will do so if needed.

A phone message left Tuesday for Simpson's attorney Yale Galanter was not immediately returned.

Goldman's family has been trying to collect a $33.5 million civil judgment from Simpson in a decade-old wrongful death lawsuit.

Los Angeles County Superior Court Judge Gerald Rosenberg ordered the book rights to be auctioned off with proceeds from the auction and any subsequent book profits turned over to Goldman's family.

Rosenberg also ruled the rights of Lorraine Brooke Associates, a Florida-based company that struck the book deal with HarperCollins, a division of News Corp., be included in the auction. He ordered the auction be held by the Sacramento County Sheriff's Department since HarperCollins' California offices are located there.

HarperCollins is a division of News Corp., the parent company of FOXNews.com.