Description: Template files like *.ott, *.dotx, *.xltx, etc. can not be opened using the iOS app. Discussing this topic with others revealed that it's not trivial to figure out what the right thing to do is. MS Word on iOS does the following: it opens a file and shows a banner that says, that the file is read only and it offers a "save a copy" button. After saving the document Word will go into "edit" mode. We have plenty of users with template files and can't put them all into the template manager the iOS app offers - we therefore look for a simple solution to male those templates usable. Any good idea how to handle them? Steps to Reproduce: 1. Try to open a template file such as an *.ott or *.dotx using the iOS app Actual Results: It's not possible to open them. Expected Results: It should be possible to open them and create a writable copy of the initial file but the initial (template) file should not be changed. Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 159561 [details] Attempted (not working) patch. Notes to self: I spent half a day today looking at this. My attempt was to add template types to the Info.plist, and then handle the template types specially in -[UIDocumentBrowserViewController documentBrowser:didPickDocumentsAtURLs:], loading the template into core LO, saving as the corresponding document type, and then loading that for editing. But that did not work, sandboxing prevents opening a file outside the sandbox at that stage. Documents chosen by the user have to be opened through the UIDocument machinery, as happens for normal documents.