Do civilian employees have to come to attention when an officer comes into a room?

Nope - The reason uniformed personnel come to attention is to recognise the superior officer's rank. Civilians - being unconnected with the military - are not required to demonstrate this recognition.