This came up today on the [sharepointdiscussions] list. A user needed to display a read-only field in a phone number format; it's pretty simple, but it may be just what you need.
This came up on a discussion list lately, so I threw together some code to meet the need. In short, a colleague needed to take the results of an InfoPath form survey and give them to the user in Word format. The form data was already in a list item, so it was a simple matter of using the SharePoint API to get the list item, formatting the data appropriately, and using response headers to make the client machine treat the response as MS Word content.