Using a QLPreviewController/UIWebView to preview Word documents which have merge fields
===

We are currently working on an iPad application which will have the following functionality:

- User provides credentials, logs in.
- Set of tasks are retrieved via a web service, which contain base64 encoded documents of varying formats. (.doc, .docx, .rtf etc.)
- The document titles are displayed in a popover list.
- When a document is selected, it is pushed out to a control to render and display it.

Our problem begins when we attempt to push out Word documents which contain bound document properties (merge fields) - the data is not being shown, leaving us with documents which contain for example "Address Line 1, Address Line 2, Postcode", as opposed to the actual values.

Supporting merge fields is a fairly high priority business case for us, so it's important that we get this working if possible.

So far, we've tried using both a QLPreviewController and a UIWebView to render the documents, and the behaviour seems to be the same with both controls.

Has anyone experienced this issue before, and if so how did you work around it?

Thanks in advance.