text format mapping