I should hate to be confined ______ an office all day .
I should hate to be confined ______ an office all day .
Explanation
The correct sentence is "I should hate to be confined in an office all day."
The preposition "in" is used to indicate being enclosed or restricted within a place.