a3b44f2b8b
When the "Create Document" button in the document browser is pressed, we scan a set of ODF templates in the Templates subfolder of the app bundle, and we display that list as a collection view. (So far that view is not interactive, i.e. once it is displayed, you are stuck there.) Eventually, when the user chooses one of the templates, we will open that and immediately, before the user has done any edits, do a Save As of it as a real (not template) document in the app's document folder. What name to use for it is unclear yet. Further saves will thus don't need any dialog to choose the document name. More work will be needed on i18n of the template support. Should we have localised templates? At least localised template names. Etc. Change-Id: I5675779a5b16bc4c70a943109aa0dd53cf4bd903 |
||
---|---|---|
.. | ||
Assets.xcassets | ||
Base.lproj | ||
Resources/Templates | ||
AppDelegate.h | ||
AppDelegate.mm | ||
Document.h | ||
Document.mm | ||
DocumentBrowserViewController.h | ||
DocumentBrowserViewController.mm | ||
DocumentViewController.h | ||
DocumentViewController.mm | ||
Info.plist.in | ||
main.m | ||
Mobile.entitlements | ||
TemplateCollectionViewController.h | ||
TemplateCollectionViewController.mm | ||
TemplateSectionHeaderView.h | ||
TemplateSectionHeaderView.m |