Appeals will be heard next week in 7-year-old case over trademark rights