extract layout export formatter functions