Add height and orientation fields to the formatter