d.bernaert Posted June 24, 2022 Share Posted June 24, 2022 Hi, I'm looking for a solution to show rtf files in the office online viewer. We can open Word documents, Excel documents, ... without a problem, but i cannot preview rtf-files. Is there a way to show rtf-files in the Office online viewer? The Google docs previewer gives problems with rtf-files. I found this thread but don't know how to do this: https://answers.microsoft.com/en-us/msoffice/forum/all/office-online-viewer-supports-rtf/b51fb1db-41b4-4c43-9725-e26d2f69394d Thanks for any feedback. Dominique Quote Link to comment Share on other sites More sharing options...
irigsoft Posted June 25, 2022 Share Posted June 25, 2022 Hello, try to set response header in TUniServerModule.UniGUIServerModuleHTTPCommand AResponseInfo.CustomHeaders.AddValue('content-type', 'application/msword'); or AResponseInfo.ContentType := 'application/msword'; Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 4, 2022 Share Posted July 4, 2022 Hello d.bernaert Please tell me, was my suggestion useful for you? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.