Sono jikan-wa ofisu-de koohii-o nomi-(*mashi-){nagara/tsutsu}, shigoto-o shite-ori-mashi-ta .
that time-TOP office-at coffee-ACC drink-(UH)-while, work-ACC do-be-UH-PAST . 
Regading that time, I was working in my office drinking a cup of coffee.