Police say flying shrapnel injured the officer's leg when the gunman used a "high-powered weapon" to shoot through a metal door.