Distribution of the heavy elements throughout the extended narrow-line region of the Seyfert galaxy NGC 7212