summaryrefslogtreecommitdiff
path: root/sfx2/sdi
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-05-28 20:53:01 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-05-28 20:53:01 -0430
commit0102a95559f3b6e20ae869986716bf1723b72a9b (patch)
tree3923fc545b950f456fa368ef056fb28a5afa7ec1 /sfx2/sdi
parenta7ddff1b801ef645bf2dfe36aacf125b4cd98c46 (diff)
Implement template manager dialog.
- Handle command in appserver - Add all the necessary defines for the command and slot. - Create TemplateManagerDlg class and resource files. - Add basic buttons to display different templates with their handlers. Change-Id: I557576a49f722c6f54d74922bac8bc4ebd5760c3
Diffstat (limited to 'sfx2/sdi')
-rw-r--r--sfx2/sdi/appslots.sdi4
-rw-r--r--sfx2/sdi/sfx.sdi24
2 files changed, 28 insertions, 0 deletions
diff --git a/sfx2/sdi/appslots.sdi b/sfx2/sdi/appslots.sdi
index d6d4a8508d80..11d7e3aefa93 100644
--- a/sfx2/sdi/appslots.sdi
+++ b/sfx2/sdi/appslots.sdi
@@ -127,6 +127,10 @@ interface Application
ExecMethod = MiscExec_Impl ;
StateMethod = MiscState_Impl ;
]
+ SID_TEMPLATE_MANAGER // ole(no) api(final/play/rec)
+ [
+ ExecMethod = MiscExec_Impl ;
+ ]
SID_ORGANIZER // ole(no) api(final/play/rec)
[
ExecMethod = MiscExec_Impl ;
diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi
index 396fbb714528..4ba1db771785 100644
--- a/sfx2/sdi/sfx.sdi
+++ b/sfx2/sdi/sfx.sdi
@@ -4419,6 +4419,30 @@ SfxVoidItem Options SID_OPTIONS
GroupId = GID_OPTIONS;
]
+SfxVoidItem TemplateManager SID_TEMPLATE_MANAGER
+()
+[
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = FALSE,
+ HasCoreId = FALSE,
+ HasDialog = FALSE,
+ ReadOnlyDoc = TRUE,
+ Toggle = FALSE,
+ Container = TRUE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+ Asynchron;
+
+ /* config: */
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = TRUE,
+ GroupId = GID_APPLICATION;
+]
+
//--------------------------------------------------------------------------
SfxVoidItem Organizer SID_ORGANIZER
()